You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
- The GDK now depends on .NET Core v3.1.3xx instead of v2.2.2xx. [#1443](https://github.com/spatialos/gdk-for-unity/pull/1443)
12
12
- Removed APIs for AuthorityLossImminent. [#1451](https://github.com/spatialos/gdk-for-unity/pull/1451)
13
13
- All authority changes to `AuthorityLossImminent` will now be dropped, and callbacks will no longer trigger.
14
+
- Removed the `AuthoritativeEntityResolver`. The implementation was fundamentally flawed. [#1453](https://github.com/spatialos/gdk-for-unity/pull/1453)
Copy file name to clipboardExpand all lines: UPGRADE_GUIDE.md
+18-2
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,26 @@ The `Reader` and `Writer` classes have had their `public Authority Authority` pr
25
25
26
26
### .NET Core Update
27
27
28
-
The GDK, in particular the code generator and deployment launcher, has been updated to use [.NET Core SDK v3.1.3xx](https://dotnet.microsoft.com/download/dotnet-core/3.1).
28
+
The GDK, in particular the code generator and deployment launcher, has been updated to use [.NET Core SDK v3.1.3xx](https://dotnet.microsoft.com/download/dotnet-core/3.1).
29
29
30
30
To update, download and install the new version from the link provided above.
31
31
32
+
### `AuthoritativeEntityResolver` removal
33
+
34
+
We removed the `AuthoritativeEntityResolver` as the implementation was fundamentally flawed. Depending on how you were using it, there are different replacements:
35
+
36
+
#### For your player entity
37
+
38
+
Use the `OwningWorkerEntityResolver` which uses the `OwningWorker` component from the Player Lifecycle Feature Module. Make sure that when you create your player's `EntityTemplate` you add the relevant components with:
If you were using this resolver on the server, we recommend merging the two Prefabs into one and rely on the GDK enabling/disabling behaviours when they are active or not.
47
+
32
48
## From `0.3.7` to `0.3.8`
33
49
34
50
### Asset based entity representation
@@ -69,7 +85,7 @@ The Scripting Backend defined in the Unity Project Settings is now overwritten b
69
85
70
86
In [#1376](https://github.com/spatialos/gdk-for-unity/pull/1376), some generated code has changed locations in your project. If you are ignoring these files in your `.gitignore`, you will want to add two new entries:
0 commit comments