mafiesto4
a839cf796b
Fix MUtils::GetClass for Float2
2024-11-18 14:42:13 +01:00
mafiesto4
8144db8e13
Fix various issues found with adrress sanitizer on macOS
2024-04-13 19:20:49 +02:00
mafiesto4
7f935ab57a
Fix regression on abstracts scripts creation 2df3d0f747
2024-02-26 19:47:16 +01:00
mafiesto4
859c420d76
Update year in copyright note
2024-02-26 19:00:48 +01:00
mafiesto4
2df3d0f747
Fix crash when loading level with abstract script class
...
#1990
2024-02-25 14:54:57 +01:00
mafiesto4
46441f6a03
Fix crash when using multi-threaded objects spawn and caching scripting VTables
2024-02-10 18:43:15 +01:00
mafiesto4
7bcf78d0c0
Fix various crashes
2023-12-17 12:38:09 +01:00
mafiesto4
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
mafiesto4
97a28d4431
Add security lockers for managed typeinfo access
2023-11-13 15:48:12 +01:00
mafiesto4
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
mafiesto4
dd21020297
Merge remote-tracking branch 'origin/master' into 1.7
2023-10-01 13:17:41 +02:00
mafiesto4
d10d52ec0c
Add thread-safety to various scripting methods
2023-10-01 10:57:51 +02:00
GoaLitiuM
1d42988f39
Fix VisualScript method calls not working with value types
2023-09-29 00:50:19 +03:00
mafiesto4
a71de7357c
Merge remote-tracking branch 'origin/master' into 1.7
2023-09-19 21:42:53 +02:00
mafiesto4
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
mafiesto4
3498806588
Add support for accessing scripting properties via ManagedBinaryModule fields API
2023-08-19 17:45:42 +02:00
mafiesto4
0694f87b0d
Fixes for Visual Scripting interop via C# on new dotnet7 hosting
2023-03-28 12:01:55 +02:00
mafiesto4
ed13de2d5b
Fix using managed arrays with Variant in dotnet7
2023-03-27 19:41:53 +02:00
mafiesto4
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
GoaLitiuM
c838a800b6
Add error logging for module initializers
2023-03-05 19:32:23 +02:00
mafiesto4
ac59cc4633
Merge remote-tracking branch 'origin/master' into dotnet7
2023-02-13 10:05:51 +01:00
mafiesto4
c785a17ca8
Fix crash on exit due to remaining DefautlInstance objects
2023-02-10 11:27:01 +01:00
mafiesto4
0270772463
Merge remote-tracking branch 'origin/master' into dotnet7
2023-02-06 10:02:13 +01:00
mafiesto4
87549a3e6c
Fix sort order usage in multi-pass drawing of the Mesh
2023-01-28 01:31:07 +01:00
mafiesto4
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
mafiesto4
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
mafiesto4
9626e9bbb6
Update copyright year
2023-01-10 15:29:37 +01:00
GoaLitiuM
96dc279ebd
Implement .NET 7 runtime support and bindings generation
2022-11-26 14:37:07 +02:00
mafiesto4
00be6ffb89
Merge branch 'master' into 1.5
2022-10-29 20:45:51 +02:00
mafiesto4
6379171fa6
Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded)
2022-10-29 18:56:21 +02:00
mafiesto4
77f8df02e5
Add ModuleInitializer attribute for C# scripting initialization code running on load
2022-10-12 17:00:40 +02:00
mafiesto4
bdb69d57dd
Refactor Plugins system to support plugins in C++ scripts
2022-07-28 21:05:03 +02:00
mafiesto4
b815ba51a5
Fix build issues
2022-06-13 23:37:11 +02:00
mafiesto4
a881c90b2e
Refactor engine to support double-precision vectors
2022-06-13 00:40:32 +02:00
mafiesto4
ed908a260e
Add support for Double2/3/4 for Variant
...
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
mafiesto4
8c2241c6dc
Update copyright year
2022-01-14 13:31:12 +01:00
mafiesto4
31bbd586db
Add scripting enums as ScriptingType
2021-11-19 16:43:02 +01:00
mafiesto4
f87544bbaf
Add ScriptingTypeHandle::IsSubclassOf
2021-10-23 16:43:17 +02:00
mafiesto4
8938f13a0b
Add support for compiling and running engine without C# scripting
...
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
mafiesto4
45e3da3f90
Fix compilation issues
2021-10-08 17:03:11 +02:00
mafiesto4
e92c22585a
Add support for using interfaces in Visual Scripting
2021-10-04 12:26:35 +02:00
mafiesto4
c3c0a4ef0d
Add support for interfaces in scripting API (cross language support C++/C#/VS)
2021-10-04 12:26:08 +02:00
mafiesto4
ba8f7c5ab4
Add improvements for native interfaces usage
2021-09-29 16:33:25 +02:00
mafiesto4
e2cd0393ac
Add ManagedBinaryModule::FindModule utility for C# type class lookup
2021-09-29 15:46:17 +02:00
mafiesto4
8d512eb1d3
Add ScriptingTypeHandle::IsAssignableFrom
2021-09-23 13:46:47 +02:00
mafiesto4
847641f655
Fix crash when spawning C# object that inherits from abstract C++ class
2021-08-08 19:10:51 +02:00
mafiesto4
9f9e5b49cc
Add more profile events
2021-07-06 16:17:11 +02:00
mafiesto4
05f919c50f
Optimization and tweaks
2021-05-02 11:25:33 +02:00
mafiesto4
0e75dba142
Optimize C++ compilation time
2021-04-30 16:27:57 +02:00