Commit Graph

14 Commits

Author SHA1 Message Date
Karrar
22faabd876 Fixed several issues with Interest Management.
- Fixed an issue causing `NetworkStart` to be invoked when the object has not yet applied its initial state in the client.
- Changed IM to not invoke `NetworkDestroy` when `NetworkStart` was not invoked for a destroyed object in the client.
- Changed IM to not simulate objects that the client is not interested in.
2024-05-02 00:45:56 +03:00
Karrar
daa599f0fc Read the description for commit details.
- Added `OnSceneOperationBegan` and `OnSceneOperationDone`. These are network events for when a scene load/unload operation begins and when it is finished, they offer more information than the older equivalent methods. `OnSceneLoadStarted` and `OnSceneLoaded` are now marked as `[Obsolete]` and will be removed in the future.
- Added `Teleport` method to `NetworkTransform`, `NetworkRigidbody`, and `NetworkRigidbody2D`. This allows you to skip interpolation for one tick.
- Fixed an issue causing scene objects to not get destroyed for late joiners.
2024-04-28 12:06:20 +03:00
Karrar
6f8278a1fc Added inspector drawer for NetworkBool network properties. 2024-04-16 18:29:34 +03:00
Karrar
c39dfc463e Fixed an issue with kinematic rigidbodies when Physics Prediction is enabled. 2024-04-13 08:41:01 +03:00
Karrar
5cf253bf12 Fixed an issue when switching scene where Netick would use the networked SetParent method on scene objects. 2024-04-08 08:32:44 +03:00
Karrar
90d4167a30 Fixed an issue causing GameEngineIntoNetcode to use the previous tick value. 2024-04-08 05:03:00 +03:00
Karrar
69fff76c10 Fixed an issue that was causing Lag Compensation to not work correctly. 2024-04-08 03:54:46 +03:00
Karrar
4dcd1bdbe5 Fixed an issue with delta compression. 2024-04-08 01:38:55 +03:00
Karrar
1e1049795e Fixed an issue causing disabling Add to Network Loop of NetworkObject to not work. 2024-04-04 05:53:52 +03:00
Karrar
092947a34f Added variations to scene switching methods on NetworkSandbox that use scene name instead of build index. 2024-04-03 02:53:17 +03:00
Karrar
a802a85f6e Added support for ordering NetworkStart across different network objects. Now it's safe to use [ExecuteBefore] and [ExecuteAfter] to control NetworkStart ordering, on both the client and the server. 2024-04-02 06:46:32 +03:00
Karrar
427bf266ca Fixed an issue with parenting a NetworkObject, causing interpolation to break. 2024-03-29 19:40:53 +03:00
Karrar
9644071efe Fixed an issue with changing network properties inside NetworkDestroy. 2024-03-28 21:24:26 +03:00
Karrar
0caf47a728 auto 2024-03-27 22:26:13 +03:00