Wojtek Figat
9f97787099
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-20 16:02:48 +02:00
Wojtek Figat
8bd6649510
Refactor managed array unboxing to handle case of C# array passes as object
...
#1415
2023-09-20 14:17:11 +02:00
Wojtek Figat
a71de7357c
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-19 21:42:53 +02:00
Wojtek Figat
0083ebd887
Fix missing C# static fields in native scripting api
2023-09-19 09:32:37 +02:00
Wojtek Figat
3381751c54
Merge branch 'hostfxr_msg' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-hostfxr_msg
2023-09-18 17:24:57 +02:00
Wojtek Figat
502af0b67a
Merge branch 'editor_module_lookup_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_module_lookup_fix
2023-09-18 15:16:07 +02:00
Wojtek Figat
79bf226fe1
Codestyle fix
2023-09-18 12:11:28 +02:00
Andrew Spiering
3ac00b1e4e
Fixing a crash when generic classes spanned across different assemblies
...
This code attempts to resolve an issue where if you had a class in Assembly A and it was generic and you had a class that inherited from it in Assembly B it would not properly resolve these classes, also added an error check for if I was not able to find the TypeIndex then log it and return thus also preventing a crash when it goes to resolve the NativeType
2023-09-17 20:37:37 -07:00
Andrew Spiering
bdd182f3da
Fixing x64 editor/runtime on arm64 macs
...
* This allows for a much more broader check for the dotnet sdk runtime to support running x64 binaries on arm64
2023-09-16 18:23:27 -07:00
f114301e97
Improve hostfxr error messages
2023-09-16 15:03:09 +03:00
2d2bfd9cd1
Include EditorModules in Assembly lookup paths
2023-09-16 14:15:09 +03:00
Wojtek Figat
38f7606923
Merge branch 'delegate_mutex' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-delegate_mutex
2023-09-13 10:57:34 +02:00
Wojtek Figat
fb488cbaf7
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-11 22:43:46 +02:00
Wojtek Figat
48d4a51c1b
Fix crash when boxing native array to managed value
2023-09-11 15:06:26 +02:00
Wojtek Figat
1134cfa6a6
Fix using ManagedDictionary when item value type is array
...
#1305
2023-09-11 15:05:46 +02:00
afec6afe4c
Fix managed UTF-8 string allocation not using correct encoding
2023-09-03 14:05:21 +03:00
4ffec5e09a
Use HashSet as backing storage for bound Delegate functions
2023-09-02 23:14:38 +03:00
Wojtek Figat
3498806588
Add support for accessing scripting properties via ManagedBinaryModule fields API
2023-08-19 17:45:42 +02:00
Wojtek Figat
f088f2b61d
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-18 10:33:51 +02:00
Wojtek Figat
de270d7478
Merge branch 'manageddict_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-manageddict_cache
2023-08-18 00:25:07 +02:00
Wojtek Figat
0e2d1b6ad2
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-14 18:14:59 +02:00
Wojtek Figat
3197479cc0
Merge branch 'object_destroynow_csharp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_destroynow_csharp
2023-08-14 15:51:45 +02:00
cd56101aa3
Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting
2023-08-13 23:46:38 +03:00
0008123e76
Cache ManagedDictionary types and helper method thunks
2023-08-13 23:15:06 +03:00
27e1401fc7
Slightly improve MClass::GetMethod method iteration
...
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
Wojtek Figat
e27f1a8a41
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-10 18:34:27 +02:00
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
Wojtek Figat
b5fa5fa68e
Add SerializableScriptingObject for easier serialization of scripting objects in gameplay or content
2023-08-04 10:11:58 +02:00
Wojtek Figat
869649e5ed
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-01 14:05:49 +02:00
Wojtek Figat
8d48b27608
Merge branch 'dotnet_defines' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_defines
2023-07-31 17:13:52 +02:00
3ba05f52df
Add common .NET SDK preprocessor definitions
2023-07-30 21:57:44 +03:00
bf351f71bf
Guard generic AssetReferenceAttribute to work only in .NET 7
2023-07-30 20:48:36 +03:00
06250fcb6d
Implement a generic version of AssetReferenceAttribute
2023-07-30 20:40:30 +03:00
Wojtek Figat
ce16debabd
Merge remote-tracking branch 'origin/master' into 1.7
2023-07-24 23:21:03 +02:00
Wojtek Figat
11bb6d4364
Fix crash when using custom Anim Graph node (.NET 7 regression)
2023-07-24 14:23:28 +02:00
Wojtek Figat
e39a56fc4e
Merge remote-tracking branch 'origin/master' into 1.7
2023-07-18 11:47:39 +02:00
Wojtek Figat
44518e88d5
Fix crash when using Vector3 soft casting in Visual Scripts
2023-07-18 09:48:43 +02:00
Wojtek Figat
6ae77d0c17
Merge remote-tracking branch 'origin/1.6' into 1.7
2023-07-09 11:55:50 +02:00
Wojtek Figat
c79952a4d6
Implement missing dotnet7 interop for field and stabilize interop
2023-07-04 17:57:59 +02:00
Wojtek Figat
e4c3461053
Merge remote-tracking branch 'origin/master' into 1.7
2023-07-03 22:01:50 +02:00
Wojtek Figat
04963fef18
Various code fixes and tweaks
2023-07-02 15:46:29 +02:00
Wojtek Figat
890248edf2
Fix MClass::HasInterface in .NET 7
2023-06-28 15:13:33 +02:00
90f9754781
Release custom assets before binary modules on scripting release
2023-06-28 00:35:51 +03:00
Wojtek Figat
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
d3073f5251
Release custom assets before scripting hot reload
2023-06-20 21:47:23 +03:00
87e96a9017
Fix native library lookup after hot reload
2023-06-20 16:29:04 +03:00
Wojtek Figat
228ef4e130
Add objects ID inverse mapping from client to server for proper C# networking codegen
2023-06-18 19:27:46 +02:00
Wojtek Figat
dd8817582a
Fix arg name
2023-06-18 18:36:58 +02:00
Wojtek Figat
7140c4a2d8
Merge remote-tracking branch 'origin/master' into 1.6
2023-06-11 21:38:20 +02:00
Wojtek Figat
7c55d50507
Various minor code cleanup tweaks
2023-06-09 23:26:37 +02:00