Commit Graph

89 Commits

Author SHA1 Message Date
NoriteSC 6ab2e540a3 Bug Fixes
script and actors not having connect transform in on awake and in on start

join auto anchor having wrong anchor because was including scale

fixed selection do to changes to transform accessibility ?
2023-08-25 14:51:49 +02:00
mafiesto4 06d8ff02b3 Merge branch 'foreignobject' of https://github.com/Withaust/FlaxEngine into Withaust-foreignobject 2023-08-14 18:29:10 +02:00
mafiesto4 66042845e4 Codestyle fixe 2023-08-14 16:13:55 +02:00
Wiktor Kocielski 1413da189e NetworkReplicator::ResolveForeignObject 2023-08-13 06:39:35 +03:00
Wiktor Kocielski b35065ab3f Fix annoying error that happens due to an oversight 2023-08-12 03:58:28 +03:00
mafiesto4 8c006f6e11 Fix crash due to replicated objects leak upon system destruction 2023-06-30 10:00:12 +02:00
mafiesto4 bb3cefbe54 Add check for NetworkClientsMask to ensure it has capacity 2023-06-28 15:48:32 +02:00
mafiesto4 b16a6199d0 Fix invoking Client RPC on Host client when it's not included in targetIds list 2023-06-28 14:52:58 +02:00
mafiesto4 228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
mafiesto4 7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
mafiesto4 5f8e5d44dc Fix RPC invoking on object with different ID but matching parent and type 2023-06-11 21:35:50 +02:00
mafiesto4 81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
mafiesto4 3e906686db Improve #1119 to use a bit flag for object sync 2023-05-28 13:30:14 +02:00
Wiktor Kocielski a21abaac84 Implement INetworkObject::OnNetworkSync and make INetworkObject just virtual 2023-05-27 04:12:46 +03:00
mafiesto4 694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
mafiesto4 90d633fb2d Minor improvements to new replication hierarchy 2023-05-24 22:59:22 +02:00
mafiesto4 2c1f6e561a Fix replication regression from eb2fc0f02f 2023-05-24 11:52:32 +02:00
mafiesto4 c4f57d19db Fix network replicator incorrect error message filter 2023-05-24 10:52:59 +02:00
mafiesto4 eb2fc0f02f Add **Network Replication Hierarchy** for robust control over replication in multiplayer games 2023-05-24 09:46:38 +02:00
mafiesto4 4879b9bd90 Add CPU profiler events to various networking functions 2023-05-23 16:11:34 +02:00
mafiesto4 1b8b585367 Optimize network replication when no client can receive object 2023-05-21 22:38:48 +02:00
Wiktor Kocielski f0564e0b06 Fix NetworkReplicator::SetObjectOwnership not considering spawn queue for hierarchical asignment 2023-05-17 03:34:03 +03:00
mafiesto4 70593177c7 Add NetworkReplicator::HasObject 2023-05-16 14:58:47 +02:00
mafiesto4 953ae3e9bb Fix hierarchical network ownership propagation to sub-objects
#1066
2023-05-16 14:58:16 +02:00
mafiesto4 64f3f1e9bc Add network error log for missing network object when accessing ownership
#1066
2023-05-16 13:08:25 +02:00
mafiesto4 5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
mafiesto4 0a5d37fd9b Add support for spawning multiple objects over network within a single group that is not from Prefabs
#1066
2023-05-07 19:40:31 +02:00
mafiesto4 531d005169 Fix accessing object ownership info locally before object gets fully spawned
#1066
2023-05-07 19:39:57 +02:00
mafiesto4 9322a2006a Post merge fixes for new dotnet7 2023-04-17 14:04:08 +02:00
mafiesto4 67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
mafiesto4 f5c9dce34a Fix network RPC object id mapping back to server id when sent from client 2023-04-16 18:55:31 +02:00
mafiesto4 e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
mafiesto4 62fdfe2519 Add NetworkStream::SenderId to detect message sender during object replication or RPC code 2023-04-14 14:25:18 +02:00
mafiesto4 4bdeb26e74 Add NetworkReplicator::EnableLog to optionally enable verbose logging of networking 2023-04-13 13:06:39 +02:00
mafiesto4 f8cf82a005 Fix comment copy/paste typo 2023-04-12 15:43:03 +02:00
mafiesto4 9429be0830 Fix compilation warnings 2023-02-19 14:35:47 +01:00
mafiesto4 ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
mafiesto4 7fe7742430 Various improvements 2023-02-11 12:55:02 +01:00
mafiesto4 9b6ba67186 Fix playing self-hosted game to properly receive RPCs 2023-02-10 15:06:37 +01:00
mafiesto4 a099bd25f6 Various minor fixes to networking 2023-02-10 12:00:04 +01:00
mafiesto4 38fcfee9a4 Merge branch '1.5' into dotnet7 2023-01-23 14:47:12 +01:00
mafiesto4 c1c1f5d60e Fix sending client RPC to all clients (including the owner) 2023-01-19 14:47:29 +01:00
mafiesto4 689a042e88 Fix sending client RPC from host that is both server and client 2023-01-18 13:39:51 +01:00
mafiesto4 04727cf2bc Add error log if the RPC is invoked on non-networked object 2023-01-18 13:38:18 +01:00
mafiesto4 7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
mafiesto4 5dd91d0cdc Adjustments for high-level networking usage #878 2023-01-16 12:04:00 +01:00
mafiesto4 eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 63d3c9b1e0 Fix build on Linux 2023-01-04 19:00:06 +01:00
mafiesto4 c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00