Commit Graph

105 Commits

Author SHA1 Message Date
Wojtek Figat
c8839b8587 Add support for Cooperative Suspend when running on Mono
Informs mono runtime that Job System, Thread Pool or Content Load threads can wait when they are going idle between tasks.
2025-11-26 00:22:48 -08:00
Wojtek Figat
92254eefcc SImplify some code and update code for platforms 2025-11-25 00:20:14 -08:00
Wojtek Figat
c0dda45c7b Fix crash on exit when C# code was bound to asset unloading event called after C# shutdown 2025-11-18 18:00:02 +01:00
Wojtek Figat
4aba0153f8 Prioritize Dotnet libs on Mono AOT 2025-11-15 14:57:12 -08:00
32b4efc175 Add missing .NET installation architecture info to error messages 2025-10-24 23:27:17 +03:00
Wojtek Figat
64e127a47a Fix crashes of scripting backend on Android 2025-09-09 15:25:24 +02:00
Wojtek Figat
14a69a11df Add Android native crashes caching 2025-09-07 23:50:41 +02:00
Wojtek Figat
99707b6586 Add various profiler events for more insights 2025-08-11 18:15:47 +02:00
Wojtek Figat
2af266727f Add utility names to gamepad buttons doc and add usefull profiler event for mono 2025-07-26 00:12:10 +02:00
Wojtek Figat
69585618ed Optimize scripting objects spawning on AOT platforms 2025-07-24 12:27:28 +02:00
Wojtek Figat
c3cf8fba98 Optimize managed code 2025-07-23 18:17:10 +02:00
Wojtek Figat
ab61ed5a37 Add more memory profiling insights and groups 2025-05-28 04:03:44 +02:00
Wojtek Figat
a74c5e7943 Another fix for iOS build 2025-05-25 18:01:30 +02:00
Wojtek Figat
8c62f1120f Optimize dynamic memory allocations for managed runtime interop collections with a new Arena Allocation 2025-05-25 17:39:20 +02:00
Wojtek Figat
410ec0465c Optimize CSharp scripting runtime to use arena allocator per-assembly 2025-05-25 02:04:16 +02:00
Wojtek Figat
c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
7e145c56fd Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/Windows/Profiler/Memory.cs
2025-03-25 13:37:15 +01:00
b095acd4a5 Fix scripting AssemblyLoadContext not getting unloaded 2025-02-26 20:29:19 +02:00
Wojtek Figat
f5280eab74 Refactor and improve collections code
#3043
2025-01-23 14:44:11 +01:00
dd894b510d Add support for .NET 9 SDK and runtime 2024-11-14 23:05:25 +02:00
Wojtek Figat
1181deb5df Fix crash when using attributes cache after hot-reload in editor 2024-10-25 13:25:36 +02:00
Wojtek Figat
e860f969be Add attributes support for dotnet interop for methods, fields and properties 2024-10-04 15:59:34 +02:00
Wojtek Figat
497cd19fe5 Fix managed interop bug 2024-10-03 17:11:15 +02:00
Wojtek Figat
aba46cb2c6 Fix naming convention in scripting backend for klass 2024-09-22 12:30:34 +02:00
d2d2297dc7 Support ARM64 architecture under Windows 2024-06-01 23:23:24 +03:00
e77ae12b9b Fix unboxing of array type Variants 2024-05-05 13:15:54 +03:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9bad65e359 Add better logging for mono messages 2024-01-30 10:04:10 +01:00
Wojtek Figat
69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
Wojtek Figat
c60058758b Minor fixes 2024-01-28 01:15:29 +01:00
Wojtek Figat
a0e127b9cc Various porting patches 2024-01-22 21:17:58 +01:00
Wojtek Figat
6d6b678b29 Minor changes from porting 2024-01-18 16:03:27 +01:00
Wojtek Figat
74f5d14ec9 Merge remote-tracking branch 'origin/master' into 1.8 2023-12-08 11:23:06 +01:00
Wojtek Figat
8faaaaaf54 Fix incorrect structure usage for hostfxr params siize
#2037
2023-12-06 11:20:32 +01:00
Wojtek Figat
35ebdb0ffe Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
2023-11-28 11:24:17 +01:00
Wojtek Figat
06ad316f94 Update to .NET 8 2023-11-26 15:09:46 +01:00
Wojtek Figat
76f5712c79 Merge remote-tracking branch 'origin/1.7' into 1.8
# Conflicts:
#	Flax.flaxproj
2023-11-25 23:36:56 +01:00
Wojtek Figat
2cef368282 Update missing unmanaged function callback error message 2023-11-24 21:45:59 +01:00
Wojtek Figat
1bb68f2c0c Merge remote-tracking branch 'origin/master' into 1.8 2023-11-16 10:31:13 +01:00
Wojtek Figat
ee6a311406 Add support for building engine target as shared library on all platforms 2023-11-15 22:56:23 +01:00
3f5c92e2fa Improve .NET 8 runtime and SDK detection
Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
2023-11-14 17:00:51 +02:00
Wojtek Figat
97a28d4431 Add security lockers for managed typeinfo access 2023-11-13 15:48:12 +01:00
Wojtek Figat
a7bb236344 Fix Mono GC threads suspend to not deadlock when attaching native threads to managed runtime
#1864
2023-11-05 14:07:05 +01:00
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