Commit Graph

26 Commits

Author SHA1 Message Date
Conna Wiles
b3920fc8a1 Fix an issue where if a GameObjectSystem type doesn't exist on the client (older version) then it won't error when connecting to a server (#3922) 2026-01-28 11:29:45 +00:00
Conna Wiles
29502ddb34 Fix an issue with bots or "unowned" objects where IsProxy would return true instead of false (#3917) 2026-01-27 20:14:01 +00:00
Conna Wiles
409e519d31 Network Detach (#3905)
The host can detatch a networked object from networking - which is like network destroying it, except it stops networking and becomes a regular snapshot object (host can set NetworkMode to NetworkMode.Snapshot) even after its network spawned.
2026-01-27 21:02:03 +01:00
Conna Wiles
3f0c69a2ea CodeGen Lambda Cache + More Network Optimizations (#3893) 2026-01-27 16:41:18 +00:00
Antoine Pilote
36aa2a9f23 BlobDataSerializer is now stack based 2026-01-26 07:30:45 -08:00
Conna Wiles
68884635b2 More Networking Optimizations 2026-01-22 23:21:45 -08:00
Conna Wiles
e6dff304a2 Reduce Some Network Allocations (#3850) 2026-01-20 18:13:11 +00:00
Conna Wiles
22b7c9e494 Add wrapper method overload for single array type (#3834) 2026-01-20 13:53:19 +00:00
sboxbot
4896eece62 Restrict client object destroying option (Networking) (#3816) 2026-01-19 15:35:13 +00:00
Antoine Pilote
d28a62c1f3 BinarySerializable (#3725)
Added BlobData API which will serialize as a binary file blob.
> Useful for large data structure

```csharp
class MyBinaryData : BlobData
{
    public override void Serialize( ref Writer writer )
    {
        writer.Stream.Write( 1337 );
    }

    public override void Deserialize( ref Reader reader )
    {
        int val = reader.Stream.Read<int>();
    }
}
```
2026-01-15 05:57:30 -08:00
Conna Wiles
e657d878a6 Scene Change Improvements (#3740) 2026-01-13 13:43:58 +00:00
Conna Wiles
4740aeae6d CodeGenerator Improvements (#3738) 2026-01-12 17:34:41 +00:00
Conna Wiles
06222ffdc4 INetworkSnapshot Support for GameObjectSystem (#3743) 2026-01-12 16:01:53 +00:00
Conna Wiles
fd1af240f3 NetworkFlags + Transform Sync Flags (#3634) 2026-01-05 17:42:25 +00:00
Lorenz Junglas
43c09d34f1 Fix ByteStream leaks (#3686) 2026-01-05 13:17:05 +01:00
Andy
c3994087f9 Prevent INetworkListener OnDisconnected being called on clients 2025-12-13 13:41:36 +00:00
sboxbot
d3c9e389d0 Fix GameObjects in GameObjectSystem NetLists being null on clients (#3613)
* Fixes GameObject references in GameObjectSystem NetLists and NetDictionaries being null on clients.

* dotnet format

---------

Co-authored-by: Andy <10728824+andy013@users.noreply.github.com>
2025-12-12 13:39:40 +00:00
Andy
62c7df605d Call SceneLoaded listeners for clients 2025-12-12 13:39:00 +00:00
Conna Wiles
c570971a1d NetList/NetDictionary Callbacks (#3556) 2025-12-12 11:07:55 +00:00
Lorenz Junglas
6808d8768e Shutdown fixes (#3553)
* Stop generating solutions via -test flag add -generatesolution

* Add TestAppSystem remove Application.InitUnitTest

Avoids some hacks and also makes sure our tests are as close to a real AppSystem as possible.

* Add shutdown unit test

shuts down an re-inits the engine

* Properly dispose native resources hold by managed during shutdown

Should fix a bunch of crashes

* Fix filesystem and networking tests

* StandaloneTest does proper Game Close

* Make sure package tests clean up properly

* Make sure menu scene and resources are released on shutdown

* Report leaked scenes on shutdown

* Ensure DestroyImmediate is not used on scenes

* Fix unmounting in unit tests not clearing native refs

* Force destroy native resource on ResourceLib Clear
2025-12-08 15:55:11 +01:00
Conna Wiles
a415c85df4 Networking Performance Regression Fix (#3545) 2025-12-04 07:35:38 +00:00
Lorenz Junglas
9551e9844e Cache (De)SerializeOptions in hot paths (#3547)
They are essentially compile time constants, so we shouldn't allocate them
2025-12-03 19:36:51 +00:00
Conna Wiles
e4e0cf0f5e Fix Parenting Networked Transform Issues and Interpolation Bug (#3428) 2025-12-03 07:49:43 +00:00
Conna Wiles
af0204fc15 Connection Input / User Commands (#3446) 2025-12-01 14:55:57 +00:00
sboxbot
96597e25e6 [public] Add AddRange support to NetList (#3467)
Co-authored-by: Matt <matt@ninetyfour.dev>
2025-11-27 20:29:49 +00:00
s&box team
71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00