Commit Graph

22 Commits

Author SHA1 Message Date
mafiesto4 8c62f1120f Optimize dynamic memory allocations for managed runtime interop collections with a new Arena Allocation 2025-05-25 17:39:20 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
GoaLitiuM b095acd4a5 Fix scripting AssemblyLoadContext not getting unloaded 2025-02-26 20:29:19 +02:00
mafiesto4 aba46cb2c6 Fix naming convention in scripting backend for klass 2024-09-22 12:30:34 +02:00
GoaLitiuM e77ae12b9b Fix unboxing of array type Variants 2024-05-05 13:15:54 +03:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
mafiesto4 bc762761dd Fix engine when used without C# scripting at all 2023-10-11 12:35:27 +02:00
mafiesto4 d10d52ec0c Add thread-safety to various scripting methods 2023-10-01 10:57:51 +02:00
mafiesto4 82b2f46b48 Post-merge tweaks for #1312 2023-09-28 19:21:06 +02:00
mafiesto4 279528a30d Merge branch 'marshalling_scriptingobject_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
#	Source/Engine/Scripting/Runtime/DotNet.cpp
2023-09-28 18:41:20 +02:00
mafiesto4 8bd6649510 Refactor managed array unboxing to handle case of C# array passes as object
#1415
2023-09-20 14:17:11 +02:00
GoaLitiuM 53b1d0dd85 Optimize ScriptingObject managed initialization 2023-08-13 23:56:27 +03:00
GoaLitiuM 9d8105e3f3 Separate managed assembly unloading and scripting ALC reinitialization
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00
mafiesto4 144b72109b Fix crash after scripting hot-reload in editor due to cached class attribute objects
#1108
2023-05-19 13:53:49 +02:00
mafiesto4 c73897ce7f Merge branch 'object_array_marshalling' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_array_marshalling 2023-05-10 09:22:22 +02:00
GoaLitiuM da149d32cf Force GC to run periodically in order to reduce stuttering 2023-05-08 23:29:39 +03:00
GoaLitiuM cae07f3623 Optimize marshalling managed arrays of object references 2023-05-08 23:28:49 +03:00
mafiesto4 e562a7d72c Fix loading C# assemblies from Mono AOT output 2023-03-31 18:31:25 +02:00
mafiesto4 0694f87b0d Fixes for Visual Scripting interop via C# on new dotnet7 hosting 2023-03-28 12:01:55 +02:00
mafiesto4 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