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
9731d76a94
Merge branch 'unloaded_assembly_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unloaded_assembly_fix
2023-09-22 12:54:22 +02:00
Wojtek Figat
62c2008cbc
Fix crash in C# JobSystem.Dispatch due to GC collecting Delegate object
2023-09-22 12:50:50 +02:00
Wojtek Figat
31b3f56ddb
Fix visibility of some internal NativeInterop methods for game bindings
2023-09-22 12:37:13 +02:00
7d69abadb7
Fix script reload crash with .NET libraries
2023-09-21 19:44:01 +03: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
b8a626c95d
Merge branch 'dotnet8_compat_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_compat_fix
2023-09-18 17:27:02 +02:00
785943bef8
Add missing marshaller methods for compatibility
2023-09-16 16:00:12 +03:00
2d2bfd9cd1
Include EditorModules in Assembly lookup paths
2023-09-16 14:15:09 +03:00
Wojtek Figat
722133165b
Fix marshalling Array<Variant> as object[] (C# codegen error)
2023-09-14 13:18:52 +02:00
afec6afe4c
Fix managed UTF-8 string allocation not using correct encoding
2023-09-03 14:05:21 +03:00
Wojtek Figat
c32a139dbd
Fix crash when unboxing managed structure with refs into Variant
2023-08-29 11:57:18 +02:00
Wojtek Figat
50c85aec6d
Minor improvements to #1315 and add getter of current window style
2023-08-21 23:33:33 +02:00
Wojtek Figat
b4adb7f3e1
Merge branch 'set-window-mode' of https://github.com/Tryibion/FlaxEngine into Tryibion-set-window-mode
2023-08-21 22:42:13 +02:00
Wojtek Figat
b78db755ec
Fix crash regression d9ee8f4665
...
#1318
2023-08-17 21:40:36 +02:00
Chandler Cox
6e5f693459
Small change to allow other platforms to use fullscreen and windowed in WindowMode function
2023-08-14 18:25:19 -05:00
Chandler Cox
cfd11a7e77
Add borderless window on Windows platform and add easy function in Screen class to change window mode.
2023-08-14 18:11:05 -05:00
Wojtek Figat
860dce487f
Codestyle fixes
2023-08-14 15:47:24 +02:00
Wojtek Figat
6af6afc6a4
Merge branch 'managedhandlepool_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedhandlepool_refactor
2023-08-14 15:43:57 +02:00
Wojtek Figat
d5245f6a8c
Merge branch 'managedarray_pool_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedarray_pool_cache
2023-08-14 15:39:44 +02:00
Wojtek Figat
342ec4c3c2
Merge branch 'arraytype_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-arraytype_cache
2023-08-14 15:36:27 +02:00
Wojtek Figat
13e0582ef2
Codestyle fixes
2023-08-14 15:36:19 +02:00
Wojtek Figat
238ff38bf2
Merge branch 'invoker_ret_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-invoker_ret_refactor
2023-08-14 15:31:50 +02:00
1b0976d99b
Refactor ManagedHandlePool
...
Weak handles are now stored in one sets of dictionarys synchronized with
other threads. This so far seems the fastest way to manage the
dictionaries for now.
2023-08-13 22:14:37 +03:00
65de284a66
Optimize managed method invokers return value marshalling
2023-08-13 22:10:07 +03:00
d9ee8f4665
Cache pooled ManagedArray managed handles
2023-08-13 21:56:52 +03:00
1254af8bbb
Optimize UnboxValue performance, safety and memory usage
...
- Avoids unnecessary boxing of the converted values by storing them in
unmanaged memory.
- Wrap ToNative-method in a delegate and cache it
- Fixes returning address to unpinned memory by pinning POD-types for
a short period of time.
2023-08-13 21:53:42 +03:00
44b70d87e5
Cache MakeArrayType results in native interop
2023-08-13 21:42:40 +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
619b0bff6b
Merge branch 'fix/string-marshalling' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/string-marshalling
2023-07-24 18:14:24 +02:00
Wojtek Figat
11bb6d4364
Fix crash when using custom Anim Graph node (.NET 7 regression)
2023-07-24 14:23:28 +02:00
Mateusz Karbowiak
91e0e2011c
Fix visibility of string wrapper
2023-07-22 18:44:36 +02:00
ff56152ef2
Fix releasing non-collectible types with collectible generic types
2023-07-15 13:20:56 +03:00
Wojtek Figat
04ef3c60d5
Fix regression from c79952a4d6
2023-07-05 09:27:21 +02:00
Wojtek Figat
c79952a4d6
Implement missing dotnet7 interop for field and stabilize interop
2023-07-04 17:57:59 +02:00
Wojtek Figat
9a1fd12a85
Fix sizeof struct within generic type instance
...
#1219
2023-07-03 11:42:15 +02:00
28335478bd
Fix managed library location resolver
2023-07-02 21:56:41 +03:00
Wojtek Figat
3119c50789
Fix nullable warnings
2023-06-28 20:09:01 +02:00
87e96a9017
Fix native library lookup after hot reload
2023-06-20 16:29:04 +03:00
Wojtek Figat
6b8d8b7913
Various fixes and improvements to auto-generated bindings usability
2023-06-12 14:35:11 +02:00
Wojtek Figat
652f8ccb8d
Fix crash when reading field value from C# in AOT on iOS
2023-06-11 15:05:14 +02:00
Wojtek Figat
ad1c573678
Fix false-positive error when interop structure has a additional memory size (alignment)
2023-05-25 00:12:54 +02:00
Wojtek Figat
c2cd3b64ff
Improve generated bindings code usability in Editor
2023-05-24 23:50:51 +02:00
Wojtek Figat
3e792e6cd7
Add NativeInteropException for native interop crashes
2023-05-19 13:52:30 +02:00
Wojtek Figat
b402603b1d
Merge branch 'latefixedupdate' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-latefixedupdate
2023-05-12 14:41:49 +02:00
cbe07b842f
Fix resolving managed scripts references in Editor
2023-05-11 22:11:46 +03:00
Wojtek Figat
637850d06c
Fix crash when C# type has missing empty ctor or it throws an exception
...
#1019
2023-05-10 20:41:58 +02: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