Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
dc9176c
Update networkedvar.md
nezix Aug 28, 2020
9d73170
type miss MyServerRpc → MyServerRPC
TomitaHaruhito Oct 20, 2020
fcbe7f8
Update object-visibility.md
mraue Nov 11, 2020
e8045c0
Update networkedvar.md
JerryLin1 Nov 25, 2020
9ebfff4
Update networkedvar.md
JerryLin1 Nov 25, 2020
c2731da
Fixed typo
TJHeuvel Dec 3, 2020
764b4f8
Merge pull request #390 from TJHeuvel/patch-1
mattwalsh-unity Dec 5, 2020
e39f7c8
Merge pull request #386 from JerryLin1/patch-2
mattwalsh-unity Dec 5, 2020
1e3dd16
Merge pull request #380 from TomitaHaruhito/patch-1
mattwalsh-unity Dec 5, 2020
e762f71
Merge pull request #359 from nezix/patch-1
mattwalsh-unity Dec 5, 2020
b4412e1
Merge pull request #384 from mraue/patch-1
mattwalsh-unity Dec 5, 2020
e86d2f7
docs: Fix typos in readme and contributing
LukeStampfli Dec 9, 2020
68a1bdd
docs: Rename LICENCE to LICENSE
LukeStampfli Dec 11, 2020
e5e5729
Merge pull request #400 from Unity-Technologies/feature/fix_repositor…
LukeStampfli Dec 11, 2020
da652e4
docs: Docs/website cleanup (#404)
LukeStampfli Dec 15, 2020
0e4385a
docs: Correct spelling of repetitive in readme.md (#431)
AldeRoberge Jan 11, 2021
7040c88
docs: Fix Typo in messaging-system (#424)
TomasKiniulis Jan 12, 2021
bb38760
docs: Fix typo in license statement(#403)
ironicnet Jan 12, 2021
b9f27f3
docs: Updated README.md with correct links (#439)
chrispope Jan 14, 2021
1348637
chore: upgrade kramdown usage to 2.3 per CVE-2020-14001 (#452)
mattwalsh-unity Jan 21, 2021
0afe253
fix: backports a fix to networkedlist/dictionary from #458 (#461)
LukeStampfli Feb 8, 2021
328dd16
docs: Update issue templates (#532)
LukeStampfli Mar 5, 2021
80d7353
Include instance ID in soft sync failure message (#616)
ThoseGrapefruits Mar 15, 2021
96deeea
docs: Add notice about upcoming changes after the keynote (#631)
JesseOlmer Mar 16, 2021
0203fac
fix: implement warning logs on non-owner invoking ServerRpc that requ…
0xFA11 Mar 16, 2021
d292d73
Removed/Updated Docs Links in Master Readme (#621)
chrispope Mar 16, 2021
8ea85ea
fix: Correcting the profiler names for network vars to be appropriate…
kvassall-unity Mar 16, 2021
c71edf9
test: NetworkTickSystem test (#630)
jeffreyrainy Mar 16, 2021
79fbed1
fix: Fix object traversal assigning instanceIds to none scene objects…
TwoTenPvP Mar 16, 2021
db2a9f5
fix: Correcting the profiler names for named messages vars to be appr…
kvassall-unity Mar 16, 2021
39604a3
fix: prevent OnPerformanceTickData from sending data on null (#614)
kvassall-unity Mar 16, 2021
24d80d1
fix: use specified transport channel instead of hardcoded reliablerpc…
0xFA11 Mar 17, 2021
7c388bf
docs: added release notes to changelog.md (#569)
lkrell Mar 17, 2021
3ed349f
docs: Update repository/project docs (#636)
Mar 17, 2021
56a02e6
docs: Add content for mlapi manual.md (#639)
Mar 17, 2021
3047068
fix: Removed per-tick runtime allocations by reusing memory between t…
becksebenius-unity Mar 18, 2021
0786f7b
fix: fixed network activity occurring outside the core update getting…
becksebenius-unity Mar 18, 2021
cfef12c
fix: Resolve an issue where 2019.4 would not properly run ILPP with a…
wackoisgod Mar 18, 2021
9dd62c7
build: add Unity module dependencies explicitly (#648)
0xFA11 Mar 19, 2021
d141a89
Merge branch 'release/0.1.0' into master_tmp
mattwalsh-unity Mar 19, 2021
7192591
remove UTP, rename LICENSE files and other minor polish
0xFA11 Mar 22, 2021
b141512
rename LICENSE files to fix Yamato according to Unity package standards
0xFA11 Mar 22, 2021
b2a54ec
fix TickSystemTests.VerifyTickSystem() test
0xFA11 Mar 23, 2021
3e3aef6
Merge pull request #652 from Unity-Technologies/chore/release-to-master
mattwalsh-unity Mar 23, 2021
9aa9f36
refactor: Unified spawn handling
Lutz89 Apr 5, 2021
d8bc276
refactor: Unified spawn handling
Lutz89 Apr 5, 2021
db77bca
Merge branch 'spawnRefactoring' of https://github.com/Hallomann/com.u…
Lutz89 Apr 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 0 additions & 92 deletions .editorconfig

This file was deleted.

63 changes: 0 additions & 63 deletions .gitattributes

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
labels: stat:awaiting triage, type:bug
assignees: ''

---
Expand All @@ -27,7 +27,7 @@ If applicable, add screenshots to help explain your problem.
- OS: [e.g. Windows 10]
- Unity Version: [e.g. 2019.1]
- MLAPI Version: [e.g. v6.0.1]
- MLAPI Commit: [e.g. https://github.com/MidLevel/MLAPI/commit/c102935df1d7e0928283b48948fe96e5d96dd961]
- MLAPI Commit: [e.g. https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi/commit/c102935df1d7e0928283b48948fe96e5d96dd961]

**Additional context**
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: True
contact_links:
- name: Documentation
url: https://github.com/Unity-Technologies/com.unity.multiplayer.docs/issues
about: Create a documentation issue in our docs repository.
- name: Discord
url: https://discord.gg/buMxnnPvTb
about: Join us on Discord for questions, support and discussions.
- name: Unity Multiplayer Forum
url: https://forum.unity.com/forums/multiplayer.26/
about: Create a thread in the Unity Multiplayer Forum.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
labels: stat:awaiting triage, type:feature
assignees: ''

---
Expand Down
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feedback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feedback
about: Provide feedback to the MLAPI team
title: ''
labels: stat:awaiting triage, type:feedback
assignees: ''

---

**Feedback**
Enter your feedback to the MLAPI team here. Please keep in mind that our teams focus is on multiplayer development. For other non-networking related feedback towards Unity please use the Forums.

**Suggested Changes**
If you think we could do something better, please let us know here what you would like us to change. Concrete and constructive suggestions are welcome and will help us to prioritize and act on feedback.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/other-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Other Issues
about: Use this template for any other non-support related issues
title: ''
labels: stat:awaiting triage
assignees: ''

---

This template is for issues not covered by the other issue categories.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/rfc-tracking-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: RFC Tracking Issue
about: Track the development of a RFC
title: 'Track RFC #<pr-number>: <description>'
labels: type:rfc
assignees: ''

---

Tracking issue for [RFC #<pr-number>: <description>](https://github.com/Unity-Technologies/com.unity.multiplayer.rfcs/pull/<pr-number>)
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Support
about: Have a question or need help with anything?
title: ''
labels: stat:awaiting triage, type:support
assignees: ''

---

Post your questions or problems here.

For general questions, networking advice or discussions about MLAPI, you can also reach us on our [Discord Community](https://discord.gg/FM8SE9E) or create a post in the [Unity Multiplayer Forum](https://forum.unity.com/forums/multiplayer.26/).
2 changes: 0 additions & 2 deletions .yamato/project.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@ projects:
packages:
- name: com.unity.multiplayer.mlapi
path: com.unity.multiplayer.mlapi
- name: com.unity.multiplayer.transport.utp
path: com.unity.multiplayer.transport.utp
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ Always write a clear log message for your commits. One-line messages are fine fo

$ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
> A paragraph describing what changed and its impact."
87 changes: 82 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,83 @@
# Sysroots
Contains the repos for both the MLAPI SDK and the UTP transport library
[![](https://i.imgur.com/d0amtqs.png)](https://mlapi.network/)

Contents:
* com.unity.multiplayer.mlapi -- the MLAPI SDK
* com.unity.multiplayer.transport.utp -- the MLAPI wrapper for the UTP transport library
[![GitHub Release](https://img.shields.io/github/release/MidLevel/MLAPI.svg?logo=github)](https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi/releases/latest)
[![Github All Releases](https://img.shields.io/github/downloads/MidLevel/MLAPI/total.svg?logo=github&color=informational)](https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi/releases)

[![Forums](https://img.shields.io/badge/unity--forums-multiplayer-blue)](https://forum.unity.com/forums/multiplayer.26/)
[![Discord](https://img.shields.io/discord/449263083769036810.svg?label=discord&logo=discord&color=informational)](https://discord.gg/FM8SE9E)


[![Licence](https://img.shields.io/github/license/midlevel/mlapi.svg?color=informational)](https://github.com/MidLevel/MLAPI/blob/master/LICENSE)
[![Website](https://img.shields.io/badge/docs-website-informational.svg)](https://docs-multiplayer.unity3d.com/)
[![Api](https://img.shields.io/badge/docs-api-informational.svg)](https://docs-multiplayer.unity3d.com/docs/mlapi-api/introduction)


The Unity MLAPI (Mid level API) is a framework that simplifies building networked games in Unity. It offers **low level** access to core networking while at the same time providing **high level** abstractions. The MLAPI aims to remove the repetitive tasks and reduces the network code dramatically, no matter how many of the **modular** features you use.

### Getting Started
To get started, check the [Multiplayer Docs Site](https://docs-multiplayer.unity3d.com/).

### Community and Feedback
For general questions, networking advice or discussions about MLAPI, please join our [Discord Community](https://discord.gg/FM8SE9E) or create a post in the [Unity Multiplayer Forum](https://forum.unity.com/forums/multiplayer.26/).

### Compatibility
The MLAPI supports all major Unity platforms. To use the WebGL platform a custom WebGL transport based on web sockets is needed.

MLAPI is compatible with Unity 2019 and newer versions.

### Development
We follow the [Gitflow Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow). The master branch contains our latest stable release version while the develop branch tracks our current work.

This repository is broken into multiple components, each one implemented as a Unity Package.
```
.
├── com.unity.multiplayer.mlapi # The core netcode SDK unity package (source + tests)
└── testproject # A Unity project with various test implementations & scenes which exercise the features in the above package(s).
```

### Contributing
The MLAPI is an open-source project and we encourage and welcome
contributions. If you wish to contribute, be sure to review our
[contribution guidelines](CONTRIBUTING.md)

### Issues and missing features
If you have an issue, bug or feature request, please follow the information in our [contribution guidelines](CONTRIBUTING.md) to submit an issue.

### Example
Here is a sample MonoBehaviour showing a chat script where everyone can write and read from. This shows the basis of the MLAPI and the abstractions it adds.

```csharp
public class Chat : NetworkBehaviour
{
private NetworkList<string> ChatMessages = new NetworkList<string>(new MLAPI.NetworkVariable.NetworkVariableSettings()
{
ReadPermission = MLAPI.NetworkVariable.NetworkVariablePermission.Everyone,
WritePermission = MLAPI.NetworkVariable.NetworkVariablePermission.Everyone,
SendTickrate = 5
}, new List<string>());

private string textField = "";

private void OnGUI()
{
if (IsClient)
{
textField = GUILayout.TextField(textField, GUILayout.Width(200));

if (GUILayout.Button("Send") && !string.IsNullOrWhiteSpace(textField))
{
ChatMessages.Add(textField);
textField = "";
}

for (int i = ChatMessages.Count - 1; i >= 0; i--)
{
GUILayout.Label(ChatMessages[i]);
}
}
}
}
```

### License
[MIT License](LICENSE)
Loading