Wojtek Figat
b0fe99f1ec
Disable mono thread attach to fix current freeze on GC STW event
2023-10-31 16:11:09 +01:00
Wojtek Figat
1567c1c8d6
Fix Mono AOT on iOS to not freeze during GC stop-the-world event on memory collection
2023-10-31 14:15:35 +01:00
Wojtek Figat
fdd6b171bb
Stability fixes
2023-10-12 23:12:53 +02:00
Wojtek Figat
74a69b8f13
Fix running game in non-ANSI path
...
#480
2023-10-12 22:29:48 +02:00
Wojtek Figat
af468ee6ae
Fix scripting interop in AOT mode to use reflection-based field access
2023-10-11 15:18:28 +02:00
Wojtek Figat
b92345c3ef
Fix crash when running async C# code with Mono
2023-10-11 12:36:49 +02:00
Wojtek Figat
d10d52ec0c
Add thread-safety to various scripting methods
2023-10-01 10:57:51 +02:00
Wojtek Figat
f77198c7ca
Fixes for iOS #1312
2023-09-29 00:00:21 +02:00
Wojtek Figat
82b2f46b48
Post-merge tweaks for #1312
2023-09-28 19:21:06 +02:00
Wojtek Figat
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
e8088f42ac
Fix string use-after-free while loading managed assemblies
2023-09-26 17:37:53 +03:00
Wojtek Figat
c374127de1
Fix error when loading project on non-ASCII path
...
#1439
2023-09-25 16:34:01 +02:00
Wojtek Figat
96b6313acb
Fix crash when loading C# assembly from non-ASNSI path
...
#1439
2023-09-25 16:30:24 +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
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
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
afec6afe4c
Fix managed UTF-8 string allocation not using correct encoding
2023-09-03 14:05:21 +03:00
42ab218a8e
Merge branch 'master' into marshalling_scriptingobject_changes
...
# Conflicts:
# Source/Engine/Engine/NativeInterop.Invoker.cs
# Source/Engine/Engine/NativeInterop.Unmanaged.cs
2023-08-20 20:24:41 +03:00
53b1d0dd85
Optimize ScriptingObject managed initialization
2023-08-13 23:56:27 +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
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
c79952a4d6
Implement missing dotnet7 interop for field and stabilize interop
2023-07-04 17:57:59 +02:00
Wojtek Figat
890248edf2
Fix MClass::HasInterface in .NET 7
2023-06-28 15:13:33 +02:00
87e96a9017
Fix native library lookup after hot reload
2023-06-20 16:29:04 +03:00
Wojtek Figat
3953e6ddc0
Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6
2023-06-01 01:06:14 +02:00
Wojtek Figat
5416d385d3
iOS runtime impl progress
2023-05-30 22:03:17 +02:00
Wojtek Figat
ee83c19c7b
Merge branch 'rollforward' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rollforward
2023-05-19 14:11:49 +02:00
Wojtek Figat
144b72109b
Fix crash after scripting hot-reload in editor due to cached class attribute objects
...
#1108
2023-05-19 13:53:49 +02:00
Wojtek Figat
7b8c013918
Various minor cleanups
2023-05-19 13:53:18 +02:00
f46d1a4aba
Enable roll-forward to latest .NET major preview version
2023-05-19 14:20:06 +03:00
Wojtek Figat
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
Wojtek Figat
32bab1e7bf
Minor tweak
2023-05-10 09:22:19 +02:00
da149d32cf
Force GC to run periodically in order to reduce stuttering
2023-05-08 23:29:39 +03:00
cae07f3623
Optimize marshalling managed arrays of object references
2023-05-08 23:28:49 +03:00
Wojtek Figat
433a398b45
Fix array copy in #1065
2023-05-05 10:00:44 +02:00
65b63da93a
Improve custom attributes caching in managed classes
2023-05-01 20:06:51 +03:00
Wojtek Figat
f046642ba7
Improve stability by fixing various crashes with dotnet7
2023-04-18 12:36:33 +02:00
Wojtek Figat
66a140f402
Fix build
2023-04-12 14:59:15 +02:00
Wojtek Figat
99566a0f0f
Fix typo
2023-04-12 11:21:55 +02:00
Wojtek Figat
9ecfe90708
Fix typo
2023-04-11 18:27:43 +02:00
Wojtek Figat
f9e8ad7c12
Add env var DOTNET_ROOT support for dotnet location probing
2023-04-11 18:14:28 +02:00
Wojtek Figat
84bb56d68b
Minor dotnet tweaks
2023-04-03 14:12:27 +02:00
Wojtek Figat
350112a0d7
Fix C# string chars getter in AOT build
2023-04-03 11:23:32 +02:00
Wojtek Figat
21f419dd4b
Fix C# assemblies loading in AOT mode (use file path to correctly load precompiled native assembly)
2023-04-02 14:50:42 +02:00
Wojtek Figat
12f4dc74d2
Optimize default C# stdlib references to prevent using jit-ed features in a game assembly
2023-04-01 23:34:05 +02:00
Wojtek Figat
809a1041b3
Merge remote-tracking branch 'origin/1.6' into 1.6
2023-03-31 19:38:05 +02:00