Commit Graph

279 Commits

Author SHA1 Message Date
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
f4e62afe8a Fix compilation with C# disabled 2023-04-05 19:39:04 +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
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
7cbafcd86b Implement C# AOT process for .NET 7 for Windows platform 2023-03-31 14:41:42 +02:00
Wojtek Figat
4528cce71c Fixes for macOS game building 2023-03-30 18:38:58 +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
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
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
30e825db75 Add dotnet7 for Android (wip) 2023-03-21 22:49:09 +01:00
Wojtek Figat
edd4e37111 Improve missing .NET 7 handling to launch download page and warn user properly 2023-03-14 12:42:19 +01:00
Wojtek Figat
dad41d9e0e Merge branch 'fix_network_rpc' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_network_rpc 2023-03-14 11:50:09 +01:00
Wojtek Figat
e00bf92f05 Add .Net Runtime deployment for cooked game 2023-03-13 10:23:42 +01:00
Wojtek Figat
aaaf7c5c37 Various fixes to scripting 2023-03-06 16:17:52 +01:00
c838a800b6 Add error logging for module initializers 2023-03-05 19:32:23 +02:00
Wojtek Figat
499df770cc Match C++ managed memory alloc with C# for scripting 2023-02-27 22:56:15 +01:00
Wojtek Figat
2c1409c2a4 Add macOS build for dotnet7 2023-02-19 13:31:57 +01:00
Wojtek Figat
c18cefbb0b Add support for dotnet7 on macOS 2023-02-19 13:03:12 +01:00
Wojtek Figat
45a0b25ee4 Fix after merge 2023-02-13 10:52:11 +01:00
Wojtek Figat
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
Wojtek Figat
6fb1e749bc Add support in GetScript to interface types
#290
2023-02-10 15:36:33 +01:00
Wojtek Figat
d58a77cc60 Add support in GetScript to interface types
#290
2023-02-10 15:36:02 +01:00
Wojtek Figat
c785a17ca8 Fix crash on exit due to remaining DefautlInstance objects 2023-02-10 11:27:01 +01:00
Wojtek Figat
547f4d1180 Fix missing getter/setter methods attributes 2023-02-06 10:43:08 +01:00
Wojtek Figat
0270772463 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-06 10:02:13 +01:00
Wojtek Figat
87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
Wojtek Figat
4f71976958 CoreCRL fixes and tweaks 2023-01-27 14:24:53 +01:00
Wojtek Figat
6fb604a9a0 Update comment 2023-01-24 10:13:08 +01:00
Wojtek Figat
02e3697817 Fix using proper engine native module for importing symbols 2023-01-24 10:13:08 +01:00
Wojciech Figat
f1f5dacb6f Add unit test to verify LibraryImport attributes usage for proper bindings 2023-01-24 09:25:39 +01:00
Wojciech Figat
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +01:00
Wojciech Figat
f3366178ea Refactor manually written managed bindings to use C-style exported P/Invoke 2023-01-23 18:14:38 +01:00
Wojciech Figat
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
Wojtek Figat
eff24ed836 Add support for editing path to the asset within AssetRefEditor 2023-01-15 23:05:58 +01:00