Commit Graph

5173 Commits

Author SHA1 Message Date
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
2196a3d791 Add USE_AOT define to C# when compiling with AOT-enabled 2023-04-01 21:23:49 +02:00
Wojtek Figat
809a1041b3 Merge remote-tracking branch 'origin/1.6' into 1.6 2023-03-31 19:38:05 +02:00
Wojtek Figat
29d0281932 Missing change 2023-03-31 19:37:55 +02:00
Wojtek Figat
e562a7d72c Fix loading C# assemblies from Mono AOT output 2023-03-31 18:31:25 +02:00
Wojtek Figat
7bec45dacf Typo fixes 2023-03-31 18:29:44 +02:00
Wojtek Figat
5a96c0e717 Add AOT cache invalidation when AOT Mode gets changed for next iterative cook 2023-03-31 18:23:50 +02:00
Wojtek Figat
a7c9c6142c Remove test logs 2023-03-31 18:23:24 +02:00
Wojtek Figat
dfca248ebd Optimize C# IsCollectible to be used in Editor-only builds 2023-03-31 14:56:57 +02:00
Wojtek Figat
4cc0807384 Skip nethost dependency from automatic building (manual-only) 2023-03-31 14:42:14 +02:00
Wojtek Figat
7cbafcd86b Implement C# AOT process for .NET 7 for Windows platform 2023-03-31 14:41:42 +02:00
Wojtek Figat
20ce4642ea Add nethost usage for iOS build 2023-03-30 18:39:19 +02:00
Wojtek Figat
4528cce71c Fixes for macOS game building 2023-03-30 18:38:58 +02:00
Wojtek Figat
aeb0bf700f Fix old Platform proces api usage 2023-03-30 18:07:47 +02:00
Wojtek Figat
bb27f85951 Optimize MCore::Array::GetAddress usage in MUtils 2023-03-29 10:39:20 +02:00
Wojtek Figat
94e7531109 Fix native libs loading on Android 2023-03-29 10:32:47 +02:00
Wojtek Figat
fd23a61846 Fix ManagedDictionary error on null object 2023-03-29 10:32:30 +02:00
Wojtek Figat
de566a361a Implement Mono hosting for .NET 7 on Android 2023-03-29 10:32:09 +02:00
Wojtek Figat
d925c8dab8 Fixes for Android 2023-03-28 17:21:27 +02:00
Wojtek Figat
a25eae5d10 Move dotnet7 native interop, wrappers and marshalers into FlaxEngine.Interop namespace 2023-03-28 13:20:18 +02:00
Wojtek Figat
6f7b138488 Implement missing dotnet7 api 2023-03-28 13:00:42 +02:00
Wojtek Figat
52fb941237 Refactor Native Interop codebase with cleanup/rename 2023-03-28 12:53:06 +02:00
Wojtek Figat
0694f87b0d Fixes for Visual Scripting interop via C# on new dotnet7 hosting 2023-03-28 12:01:55 +02:00
Wojtek Figat
ed13de2d5b Fix using managed arrays with Variant in dotnet7 2023-03-27 19:41:53 +02:00
Wojtek Figat
8d7225c056 Remove debug code leftover from 4755c42d70 2023-03-27 17:35:56 +02:00
Wojtek Figat
4755c42d70 Fix .NET generic class typename to match old mono style without inlined assembly name and ver 2023-03-27 17:30:48 +02:00
Wojtek Figat
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
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
4c4a559125 Improve dotnet host runtime detection if pack has multiple different versions 2023-03-22 14:20:38 +01:00
Wojtek Figat
4c1519ba1b Fix bindings generation for in-built Char type used in Array 2023-03-22 14:19:52 +01:00
Wojtek Figat
2253b5713b Fix dotnet sdk detection 2023-03-22 14:19:12 +01:00
Wojtek Figat
7d4bf8356e Update to the latest Platform::CreateProcess 2023-03-22 14:18:52 +01:00
Wojtek Figat
c31e4023c4 Optimize TypeInfo.GetFullNameNative for simple types 2023-03-22 14:12:25 +01:00
Wojtek Figat
3bbc7faf11 Refactor platform process startup with CreateProcessSettings 2023-03-22 14:09:20 +01:00
Wojtek Figat
497aca829d Fix 2023-03-21 23:03:01 +01:00
Wojtek Figat
7e28db91c2 Fix 2023-03-21 22:59:49 +01:00
Wojtek Figat
c71a34a1e9 Reenable Android CI build 2023-03-21 22:57:41 +01:00
Wojtek Figat
30e825db75 Add dotnet7 for Android (wip) 2023-03-21 22:49:09 +01:00
Wojtek Figat
ad536a945e Run build twice for build tool tests to fix error on Github Action run 2023-03-20 20:30:34 +01:00
Wojtek Figat
5dbc5f42d2 Remove mono files 2023-03-20 19:32:24 +01:00
Wojtek Figat
154076a5d0 Migrate Linux build from mono to to dotnet7 2023-03-20 19:25:00 +01:00
Wojtek Figat
d719c534d4 Missing change 2023-03-20 18:57:34 +01:00
Wojtek Figat
d63c21ec41 Build Physx 5 for Linux 2023-03-20 18:56:14 +01:00
Wojtek Figat
1fa7397b32 Update readme instructions for Vulkan SDK on Ubuntu 2023-03-20 18:55:58 +01:00
Wojtek Figat
5bf645252f Fix crash due to typo in Character Controller 2023-03-20 18:55:41 +01:00
Wojtek Figat
9568237c8e Fix build instructions on Linux to not use snap due to broken tooling 2023-03-20 18:30:56 +01:00
Wojtek Figat
0232197cdc Add more iOS platform impl 2023-03-18 22:43:13 +01:00
Wojtek Figat
c615ad18a8 Build deps for iOS 2023-03-16 22:13:37 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
dc29ee180e Use arm64 for deploy for macOS 2023-03-15 20:58:23 +01:00