968de34cae
_wip
2025-12-19 13:14:10 +02:00
Wojtek Figat
4fe9fdded6
Optimize redundant string allocation in managed binary module unload
2025-05-28 04:10:47 +02:00
Wojtek Figat
ab61ed5a37
Add more memory profiling insights and groups
2025-05-28 04:03:44 +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
Wojtek Figat
87e423ed48
Fix regression in C++ objects created from C# code to link managed instance properly
2025-03-13 22:31:01 +01:00
Wojtek Figat
5bdbbb6d38
Merge remote-tracking branch 'origin/master' into 1.10
2025-03-07 23:41:02 +01:00
Wojtek Figat
e82bb639ed
Fix objects creation to ensure managed object ctor is always executed
...
#3245
2025-03-03 19:12:29 +01:00
Wojtek Figat
2ab9adab24
Merge remote-tracking branch 'origin/master' into 1.10
2025-02-24 23:27:56 +01:00
Wojtek Figat
bb12562c2f
Fix crash when setting C# property of value-type from native code
2025-02-21 20:22:54 +01:00
Wojtek Figat
1497acef58
SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only
2025-01-16 17:42:01 +01:00
Wojtek Figat
9d70fd82d6
Merge remote-tracking branch 'origin/master' into 1.10
...
# Conflicts:
# Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
c0a99688f9
Fix passing object reference as out parameter in scripting method invoke
2024-11-18 19:00:01 +01:00
Wojtek Figat
a839cf796b
Fix MUtils::GetClass for Float2
2024-11-18 14:42:13 +01:00
Wojtek Figat
5d7eba05ea
Add GetFields and GetMethods to binary module api
2024-10-24 19:33:38 +02:00
Wojtek Figat
8144db8e13
Fix various issues found with adrress sanitizer on macOS
2024-04-13 19:20:49 +02:00
Wojtek Figat
7f935ab57a
Fix regression on abstracts scripts creation 2df3d0f747
2024-02-26 19:47:16 +01:00
Wojtek Figat
859c420d76
Update year in copyright note
2024-02-26 19:00:48 +01:00
Wojtek Figat
2df3d0f747
Fix crash when loading level with abstract script class
...
#1990
2024-02-25 14:54:57 +01:00
Wojtek Figat
46441f6a03
Fix crash when using multi-threaded objects spawn and caching scripting VTables
2024-02-10 18:43:15 +01:00
Wojtek Figat
7bcf78d0c0
Fix various crashes
2023-12-17 12:38:09 +01:00
Wojtek Figat
9738fd4354
Fix crash on hot-reload in Editor due to leftover scripting events in ScriptingEvents::EventsTable
...
#1925
2023-11-16 14:09:05 +01:00
Wojtek Figat
97a28d4431
Add security lockers for managed typeinfo access
2023-11-13 15:48:12 +01:00
Wojtek Figat
f44421b7a7
Optimize managed method invoke on NetCore to skip virtual call that is the same as default one
2023-10-26 11:25:30 +02:00
Wojtek Figat
dd21020297
Merge remote-tracking branch 'origin/master' into 1.7
2023-10-01 13:17:41 +02:00
Wojtek Figat
d10d52ec0c
Add thread-safety to various scripting methods
2023-10-01 10:57:51 +02:00
1d42988f39
Fix VisualScript method calls not working with value types
2023-09-29 00:50:19 +03:00
Wojtek Figat
a71de7357c
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-19 21:42:53 +02:00
Wojtek Figat
79bf226fe1
Codestyle fix
2023-09-18 12:11:28 +02:00
Andrew Spiering
3ac00b1e4e
Fixing a crash when generic classes spanned across different assemblies
...
This code attempts to resolve an issue where if you had a class in Assembly A and it was generic and you had a class that inherited from it in Assembly B it would not properly resolve these classes, also added an error check for if I was not able to find the TypeIndex then log it and return thus also preventing a crash when it goes to resolve the NativeType
2023-09-17 20:37:37 -07:00
Wojtek Figat
3498806588
Add support for accessing scripting properties via ManagedBinaryModule fields API
2023-08-19 17:45: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
c838a800b6
Add error logging for module initializers
2023-03-05 19:32:23 +02:00
Wojtek Figat
ac59cc4633
Merge remote-tracking branch 'origin/master' into dotnet7
2023-02-13 10:05:51 +01:00
Wojtek Figat
c785a17ca8
Fix crash on exit due to remaining DefautlInstance objects
2023-02-10 11:27:01 +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
Wojciech Figat
eebc4951de
Merge branch '1.5' into dotnet7
...
# Conflicts:
# Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
# Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
# Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
# Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
# Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
# Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
# Source/Platforms/DotNet/NUnit/nunit.engine.dll
# Source/Platforms/DotNet/NUnit/nunit3-console.exe
# Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
# Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
# Source/Tools/Flax.Build/Deps/Downloader.cs
# Source/Tools/Flax.Stats/CodeFrame.cs
# Source/Tools/Flax.Stats/CodeFrameNode.cs
# Source/Tools/Flax.Stats/Flax.Stats.Build.cs
# Source/Tools/Flax.Stats/Languages.cs
# Source/Tools/Flax.Stats/Program.cs
# Source/Tools/Flax.Stats/TaskType.cs
# Source/Tools/Flax.Stats/Tools.cs
# Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
Wojciech Figat
a7e428a21c
Merge branch 'master' into 1.5
...
# Conflicts:
# Content/Shaders/GI/DDGI.flax
# Content/Shaders/GI/GlobalSurfaceAtlas.flax
# Content/Shaders/TAA.flax
# Content/Shaders/VolumetricFog.flax
# Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
# Source/Engine/Core/Config/GraphicsSettings.cpp
# Source/Engine/Engine/PostProcessEffect.cs
# Source/Engine/Graphics/GPUResourcesCollection.cpp
# Source/Engine/Graphics/GPUResourcesCollection.h
# Source/Engine/Graphics/PostProcessBase.h
# Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6
Update copyright year
2023-01-10 15:29:37 +01:00
96dc279ebd
Implement .NET 7 runtime support and bindings generation
2022-11-26 14:37:07 +02:00
Wojtek Figat
00be6ffb89
Merge branch 'master' into 1.5
2022-10-29 20:45:51 +02:00
Wojtek Figat
6379171fa6
Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded)
2022-10-29 18:56:21 +02:00
Wojciech Figat
77f8df02e5
Add ModuleInitializer attribute for C# scripting initialization code running on load
2022-10-12 17:00:40 +02:00
Wojtek Figat
bdb69d57dd
Refactor Plugins system to support plugins in C++ scripts
2022-07-28 21:05:03 +02:00