Commit Graph

129 Commits

Author SHA1 Message Date
Wojtek Figat
a742ce1d32 Optimize FileReadStream seeking if new position is within the cached buffer 2024-05-13 22:40:27 +02:00
Wojtek Figat
9ad4997691 Add automatic restoring Anim Event tracks when reimporting animation asset
#2363
2024-04-15 19:27:28 +02:00
Wojtek Figat
c59e872ef2 Fix crash when loading invalid Variant structure 2024-04-14 00:09:01 +02:00
Wojtek Figat
584c073df1 Reuse various serialization code 2024-03-08 14:26:48 +01:00
Wojtek Figat
b506295b7b Fix loading BehaviorKnowledgeSelectorAny from json object 2024-03-05 12:31:03 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
f20805e567 Fix Json serializer for CSharp data to use UTF-8 text encoding
#1994
2024-02-21 22:39:32 +01:00
Wojtek Figat
9e747eb98a Fix version deserialization of Revision component 2024-02-20 13:24:59 +01:00
Wojtek Figat
8e6bd07322 Fix Transform diff serialization to properly handle prefab changes to a single component of transform
#2085
2024-02-20 13:12:23 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
e0a085adfe Add support for loading prefab instance if the root was changed or deleted
#2050
2023-12-14 10:47:22 +01:00
Wojtek Figat
3e940c28df Refactor prefab's objectsCache to be explicitly SceneObject values 2023-12-04 13:56:36 +01:00
Wojtek Figat
eb508fdc73 Fix Json serialzier regression after hot-reload from 0f14672e3b 2023-11-29 12:28:30 +01:00
Wojtek Figat
eaafb72ca9 Optimize some includes and use automatic serializers for platform settings 2023-11-13 23:54:07 +01:00
Wojtek Figat
0f14672e3b Codestyle formatting and fixes for #1888 2023-11-13 09:45:33 +01:00
SS
52a1175f96 Seperated out assembly resolution logic to it's own function 2023-11-07 16:30:50 -07:00
SS
77b6a4a68b Fixed issue in NativeInterop
Readded check in current app domain to ExtendedSerializationBinder
2023-11-07 16:03:03 -07:00
SS
d6e93a7fab Fixed issue involving stale scripting assemblies in FlaxEngine.Json dynamic type resolution
Added new ExtendedSerializationBinder
Added callback to clear serializer cache on scripting assembly reload
Added low-cost mechanism to invalidate the SerializerCache after domain reload
2023-11-06 18:49:30 -07:00
Wojtek Figat
702356f1e4 Missing change for c01614b8f5 and regression from 88eca13eb3 2023-10-13 16:58:02 +02:00
Wojtek Figat
00100e11f2 Fix C# objects serialization bug when script throws exception during saving to Json
#1656
2023-10-09 15:31:46 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
9870d162e4 Fix creating prefabs directly from prefab objects
#1432
2023-10-06 10:07:57 +02:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Wojtek Figat
d1c0900ad7 Fix potential error when loading Guid from Json 2023-10-04 22:38:06 +02:00
Wojtek Figat
b492c9421b Fix Tag deserialization in cooked game
#1534
2023-10-01 21:02:08 +02:00
Wojtek Figat
b960600102 Optimize scenes loading with Job System 2023-10-01 10:55:01 +02:00
Wojtek Figat
eee53dfbdc Add BehaviorKnowledgeSelector for Behavior Knowledge unified data access 2023-08-19 19:50:17 +02:00
Wojtek Figat
3b90e75307 Various improvements to serialization of data encoded via Base64 to Json 2023-07-13 13:10:34 +02:00
Wojtek Figat
9db3439d0d Fix compilation error 2023-07-03 16:17:46 +02:00
Wojtek Figat
544eb03f7e Add network replication support for in-built object/asset reference holders 2023-07-03 13:06:08 +02:00
Wojtek Figat
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
Wojtek Figat
7efb3e3f3d Add SoftTypeReference<T> to scripting API for lazy-load type references (via typename) 2023-05-24 22:56:29 +02:00
Wojtek Figat
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
Wojtek Figat
efab20e335 Fix compilation regression from 5d2a3482c7 2023-05-06 23:00:50 +02:00
Wojtek Figat
c47907c0c3 Fix C# serialization of reference to self (eg. script sub-object referencing owning script)
#55
2023-05-06 17:36:17 +02:00
Wojtek Figat
2affebd375 Fix C# serialization of scene objects when property throws and exception
#88
2023-05-06 14:57:44 +02:00
Wojtek Figat
5d2a3482c7 Reduce compilation problems by moving FindObject fwd decl to be more commonly included
#1040
2023-05-05 16:10:09 +02:00
Wojtek Figat
5a2831d0cb Various improvements 2023-04-29 12:11:17 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojciech Figat
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
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
84a68c5977 Update Newtonsoft.Json to 13.0.2 and .Net 7 2022-12-17 13:38:30 +01:00
Wojciech Figat
889eb7d846 Revert "Implement JSON difference serialization"
This reverts commit 6bfb0205fd.
2022-12-17 13:06:16 +01:00
6bfb0205fd Implement JSON difference serialization 2022-11-26 13:55:18 +02:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojtek Figat
b139ebfe88 Fix crash when reading Transform from native data stream 2022-11-21 15:37:17 +01:00
Wojciech Figat
c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
Wojtek Figat
727d29ee07 Fix Clang compilation 2022-10-21 19:32:10 +02:00