983c22a3a6
Initialize ScriptingService earlier
2024-05-01 18:53:05 +03:00
Wojtek Figat
890569ea3b
Add logging and cleaning up leaked scene objects after play mode in Editor
2024-04-22 22:59:38 +02:00
Wojtek Figat
b92fbcb3bc
Add more const correctness
...
#2467
2024-04-22 22:53:27 +02:00
Wojtek Figat
a01495cde1
Merge similar source chunks
...
#2468
2024-04-22 18:36:25 +02:00
Wojtek Figat
d719c381ea
Merge remote-tracking branch 'origin/master' into 1.8
2024-03-11 23:49:33 +01:00
Wojtek Figat
84d3103278
Fix crash on incorrect object destruction event
...
#1920
2024-03-04 14:26:47 +01: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
10180de9c6
Merge remote-tracking branch 'origin/master' into 1.8
...
# Conflicts:
# Source/Editor/Utilities/EditorUtilities.cpp
# Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
082768d08c
Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT
2024-02-07 23:39:02 +01:00
Wojtek Figat
69b7a10c1f
Add Stopwatch for accurate duration measuring
2024-01-28 20:31:03 +01:00
Wojtek Figat
bec878cc11
Fix crashes in various dictionary usages caused by duplicated keys
...
#1925 #1924
2023-11-16 15:47:42 +01:00
Wojtek Figat
97a28d4431
Add security lockers for managed typeinfo access
2023-11-13 15:48:12 +01:00
Wojtek Figat
b47420f232
Compact various source code chunks
2023-11-06 16:56:15 +01:00
Wojtek Figat
03c120ba69
Fix double engine assembly init in Editor
2023-10-13 14:26:33 +02:00
Wojtek Figat
bc762761dd
Fix engine when used without C# scripting at all
2023-10-11 12:35:27 +02:00
Wojtek Figat
dd21020297
Merge remote-tracking branch 'origin/master' into 1.7
2023-10-01 13:17:41 +02:00
Wojtek Figat
075f40b93a
Minor fixes
2023-10-01 10:56:30 +02:00
18310c9264
Fix loading shared managed assemblies multiple times
2023-09-29 22:12:50 +03:00
4ffec5e09a
Use HashSet as backing storage for bound Delegate functions
2023-09-02 23:14:38 +03:00
9d8105e3f3
Separate managed assembly unloading and scripting ALC reinitialization
...
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00
Wojtek Figat
44518e88d5
Fix crash when using Vector3 soft casting in Visual Scripts
2023-07-18 09:48:43 +02:00
90f9754781
Release custom assets before binary modules on scripting release
2023-06-28 00:35:51 +03:00
d3073f5251
Release custom assets before scripting hot reload
2023-06-20 21:47:23 +03:00
Wojtek Figat
dd8817582a
Fix arg name
2023-06-18 18:36:58 +02:00
Wojtek Figat
3953e6ddc0
Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6
2023-06-01 01:06:14 +02:00
Wojtek Figat
5416d385d3
iOS runtime impl progress
2023-05-30 22:03:17 +02:00
Wojtek Figat
144b72109b
Fix crash after scripting hot-reload in editor due to cached class attribute objects
...
#1108
2023-05-19 13:53:49 +02:00
558a7d99ff
Add LateFixedUpdate event for scripts
2023-04-09 18:26:33 +03:00
Wojtek Figat
4528cce71c
Fixes for macOS game building
2023-03-30 18:38:58 +02:00
Wojtek Figat
94e7531109
Fix native libs loading on Android
2023-03-29 10:32:47 +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
2c1409c2a4
Add macOS build for dotnet7
2023-02-19 13:31:57 +01: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
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
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
Wojtek Figat
c53af39c92
Merge remote-tracking branch 'origin/1.5' into dotnet7
2023-01-08 15:05:56 +01:00
Wojtek Figat
4012434102
Fix test
2023-01-03 23:04:09 +01:00
759a9bd365
Fix native library resolver not working after hot-reload
2022-12-24 03:13:40 +02:00
96dc279ebd
Implement .NET 7 runtime support and bindings generation
2022-11-26 14:37:07 +02:00
Wojtek Figat
4ba93d9d86
Code cleanup #765
2022-10-29 12:04:42 +02:00
Preben Eriksen
2efc97b64f
Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class.
2022-10-11 10:45:28 +02:00
Wojtek Figat
bb7d4f7812
Fix console builds
2022-08-07 21:06:17 +02:00
Wojtek Figat
bdb69d57dd
Refactor Plugins system to support plugins in C++ scripts
2022-07-28 21:05:03 +02:00
Wojciech Figat
8c2241c6dc
Update copyright year
2022-01-14 13:31:12 +01:00
Wojtek Figat
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