Commit Graph

555 Commits

Author SHA1 Message Date
Wojtek Figat
89c7f4b0a3 Fix ManagedDictionary cache to be cleared on hot-reload 2025-06-09 17:19:36 +02:00
Wojtek Figat
4fe9fdded6 Optimize redundant string allocation in managed binary module unload 2025-05-28 04:10:47 +02:00
Wojtek Figat
03d52d4eb9 Add support for building engine without logging 2025-05-28 04:05:12 +02:00
Wojtek Figat
ab61ed5a37 Add more memory profiling insights and groups 2025-05-28 04:03:44 +02:00
Wojtek Figat
a74c5e7943 Another fix for iOS build 2025-05-25 18:01:30 +02:00
Wojtek Figat
98e59450f1 Add freeing managed assembly memory on reload/unload 2025-05-25 17:39:51 +02:00
Wojtek Figat
8c62f1120f Optimize dynamic memory allocations for managed runtime interop collections with a new Arena Allocation 2025-05-25 17:39:20 +02:00
Wojtek Figat
410ec0465c Optimize CSharp scripting runtime to use arena allocator per-assembly 2025-05-25 02:04:16 +02:00
Wojtek Figat
c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Wojtek Figat
59aed828f6 Update attributes style to be consistent in engine 2025-04-12 22:09:12 +02:00
Wojtek Figat
15da2d59e5 Add GPUTexture::DownloadData to C#
#2973 #1446
2025-04-07 23:32:37 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
0041a17b7d Add Script::IsEnabledInHierarchy 2025-03-27 21:05:32 +01:00
Wojtek Figat
7e145c56fd Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/Windows/Profiler/Memory.cs
2025-03-25 13:37:15 +01:00
Wojtek Figat
abe5b14f72 Merge branch 'unload_alc_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unload_alc_fix 2025-03-18 14:20:20 +01:00
Wojtek Figat
87e423ed48 Fix regression in C++ objects created from C# code to link managed instance properly 2025-03-13 22:31:01 +01:00
Wojtek Figat
5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
Wojtek Figat
3c303514a4 Fix crash when using audio playback and playing editor meanwhile 2025-03-11 18:10:48 +01:00
Wojtek Figat
5bdbbb6d38 Merge remote-tracking branch 'origin/master' into 1.10 2025-03-07 23:41:02 +01:00
Wojtek Figat
8e2f3ec0c0 Fix Version marshaling as parameter 2025-03-06 00:36:39 +01:00
Wojtek Figat
e82bb639ed Fix objects creation to ensure managed object ctor is always executed
#3245
2025-03-03 19:12:29 +01:00
Wojtek Figat
dad8c0cd6b Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Level/Prefabs/Prefab.Apply.cpp
2025-02-27 17:17:02 +01:00
Wojtek Figat
b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
5fd64ead62 Fix custom content and importers blocking scripting reload 2025-02-26 20:29:21 +02:00
b095acd4a5 Fix scripting AssemblyLoadContext not getting unloaded 2025-02-26 20:29:19 +02:00
Wojtek Figat
2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
Wojtek Figat
bb12562c2f Fix crash when setting C# property of value-type from native code 2025-02-21 20:22:54 +01:00
Wojtek Figat
f5280eab74 Refactor and improve collections code
#3043
2025-01-23 14:44:11 +01:00
Wojtek Figat
1497acef58 SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only 2025-01-16 17:42:01 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
b6d2a3683c Add ButtonAttribute to display methods in editor properties panel
#1917
2024-12-06 16:10:50 +01:00
Wojtek Figat
9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
c0a99688f9 Fix passing object reference as out parameter in scripting method invoke 2024-11-18 19:00:01 +01:00
Wojtek Figat
a839cf796b Fix MUtils::GetClass for Float2 2024-11-18 14:42:13 +01:00
dd894b510d Add support for .NET 9 SDK and runtime 2024-11-14 23:05:25 +02:00
Wojtek Figat
3f50625cc3 Fix proper handling of Scripting.InvokeOnUpdate if called within that callback 2024-10-30 17:26:06 +01:00
Wojtek Figat
1181deb5df Fix crash when using attributes cache after hot-reload in editor 2024-10-25 13:25:36 +02:00
Wojtek Figat
62ece0d92e Fix crash when using attributes cache after hot-reload in editor 2024-10-24 23:38:25 +02:00
Wojtek Figat
5d7eba05ea Add GetFields and GetMethods to binary module api 2024-10-24 19:33:38 +02:00
Wojtek Figat
e860f969be Add attributes support for dotnet interop for methods, fields and properties 2024-10-04 15:59:34 +02:00
Wojtek Figat
adbe578aa1 Add attributes support for dotnet interop for methods, fields and properties 2024-10-04 15:57:41 +02:00
Wojtek Figat
497cd19fe5 Fix managed interop bug 2024-10-03 17:11:15 +02:00
Wojtek Figat
2f0518a348 Fix managed interop bug 2024-10-03 17:10:01 +02:00
Wojtek Figat
fbc5a061d9 Merge branch '1.9' of https://gitlab.flaxengine.com/flax/flaxengine into 1.9 2024-09-30 12:22:40 +02:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
aba46cb2c6 Fix naming convention in scripting backend for klass 2024-09-22 12:30:34 +02:00
Wojtek Figat
a367d40913 Add more contextual log printing on missing object/asset reference
#2414
2024-09-15 23:03:53 +02:00
Wojtek Figat
a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
Wojtek Figat
23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00