Commit Graph

331 Commits

Author SHA1 Message Date
GoaLitiuM cd56101aa3 Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting 2023-08-13 23:46:38 +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 8d48b27608 Merge branch 'dotnet_defines' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_defines 2023-07-31 17:13:52 +02:00
GoaLitiuM 3ba05f52df Add common .NET SDK preprocessor definitions 2023-07-30 21:57:44 +03:00
GoaLitiuM bf351f71bf Guard generic AssetReferenceAttribute to work only in .NET 7 2023-07-30 20:48:36 +03:00
GoaLitiuM 06250fcb6d Implement a generic version of AssetReferenceAttribute 2023-07-30 20:40:30 +03:00
mafiesto4 11bb6d4364 Fix crash when using custom Anim Graph node (.NET 7 regression) 2023-07-24 14:23:28 +02:00
mafiesto4 44518e88d5 Fix crash when using Vector3 soft casting in Visual Scripts 2023-07-18 09:48:43 +02:00
mafiesto4 c79952a4d6 Implement missing dotnet7 interop for field and stabilize interop 2023-07-04 17:57:59 +02:00
mafiesto4 890248edf2 Fix MClass::HasInterface in .NET 7 2023-06-28 15:13:33 +02:00
GoaLitiuM 90f9754781 Release custom assets before binary modules on scripting release 2023-06-28 00:35:51 +03:00
mafiesto4 67dad80e15 Merge branch 'custom_asset_hotreload' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-custom_asset_hotreload 2023-06-20 22:00:20 +02:00
GoaLitiuM d3073f5251 Release custom assets before scripting hot reload 2023-06-20 21:47:23 +03:00
GoaLitiuM 87e96a9017 Fix native library lookup after hot reload 2023-06-20 16:29:04 +03: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 dd8817582a Fix arg name 2023-06-18 18:36:58 +02:00
mafiesto4 7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
mafiesto4 7c55d50507 Various minor code cleanup tweaks 2023-06-09 23:26:37 +02:00
mafiesto4 3953e6ddc0 Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6 2023-06-01 01:06:14 +02:00
mafiesto4 5416d385d3 iOS runtime impl progress 2023-05-30 22:03:17 +02: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 7efb3e3f3d Add SoftTypeReference<T> to scripting API for lazy-load type references (via typename) 2023-05-24 22:56:29 +02:00
mafiesto4 8ba17f1026 Optimize MUtils::UnboxScriptingTypeHandle 2023-05-23 18:22:43 +02:00
mafiesto4 ee83c19c7b Merge branch 'rollforward' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rollforward 2023-05-19 14:11:49 +02: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 7b8c013918 Various minor cleanups 2023-05-19 13:53:18 +02:00
GoaLitiuM f46d1a4aba Enable roll-forward to latest .NET major preview version 2023-05-19 14:20:06 +03:00
mafiesto4 b402603b1d Merge branch 'latefixedupdate' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-latefixedupdate 2023-05-12 14:41:49 +02:00
GoaLitiuM de7c6483e0 Add LateFixedUpdate event for C# scripts 2023-05-11 21:10:14 +03:00
mafiesto4 4e78b49cac Improve managed exceptions logging 2023-05-10 20:42:18 +02:00
mafiesto4 ac67813198 Optimize code to alloc memory manually in #1088 2023-05-10 09:31:54 +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
mafiesto4 32bab1e7bf Minor tweak 2023-05-10 09:22:19 +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 69cdb1268a Merge remote-tracking branch 'origin/master' into 1.6 2023-05-08 12:58:42 +02:00
mafiesto4 31a000b2b6 Merge branch 'tracy_v09' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-tracy_v09 2023-05-08 11:56:15 +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 5d2a3482c7 Reduce compilation problems by moving FindObject fwd decl to be more commonly included
#1040
2023-05-05 16:10:09 +02:00
mafiesto4 22239bc2d1 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-05 11:41:32 +02:00
mafiesto4 b1988776ab Merge branch 'managed_handle_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managed_handle_fix 2023-05-05 11:40:37 +02:00
mafiesto4 5e31a678bd Improve C# Object comparison by using native pointer compare #1061 #713 #795 2023-05-05 10:49:07 +02:00
mafiesto4 433a398b45 Fix array copy in #1065 2023-05-05 10:00:44 +02:00
GoaLitiuM 65b63da93a Improve custom attributes caching in managed classes 2023-05-01 20:06:51 +03:00
Ruan Lucas c900b6525d forgot to save the XD file 2023-04-30 14:30:08 -04:00
Ruan Lucas 176f95fbbc move == operator from Actor class to Object class 2023-04-30 14:25:41 -04:00
GoaLitiuM 765cd7a0f0 Fix managed scripting object handles created in managed side 2023-04-22 14:21:45 +03:00
mafiesto4 f046642ba7 Improve stability by fixing various crashes with dotnet7 2023-04-18 12:36:33 +02:00
mafiesto4 67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
mafiesto4 89704bebe9 Add Span<T> support for scripting fields 2023-04-14 15:01:22 +02:00