Commit Graph

4077 Commits

Author SHA1 Message Date
8b80f73641 Implement ManagedHandle replacement for GCHandles
Allows for more controlled management of weak handles, increasing their lifetime for slightly longer than with GCHandles.
2022-12-30 22:14:48 +02:00
Wojciech Figat
6a8483a898 Fix converting managed array back to native if passed via structure argument 2022-12-30 16:05:33 +01:00
Wojciech Figat
71e2cbe856 Minor tweaks to dotnet interop 2022-12-30 15:36:35 +01:00
Wojciech Figat
af7b53814d Merge remote-tracking branch 'origin/1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/TAA.flax
2022-12-30 09:24:10 +01:00
77478f9515 Fix managed and native array field marshalling 2022-12-30 01:34:52 +02:00
64809f553b Skip cached rules assembly after changing project references 2022-12-30 01:34:52 +02:00
Wojtek Figat
e2e66e0eec Fix crash when unboxing integer value type from managed callback via generated bindings 2022-12-30 00:08:32 +01:00
Wojtek Figat
a5e7ff6fc0 Add unit test for scripting features 2022-12-30 00:08:04 +01:00
Wojtek Figat
0e1da59f0c Fix loading materials when using Null renderer
Regression from dbcb333ba9
2022-12-29 23:35:47 +01:00
Wojciech Figat
1d47374758 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 23:06:06 +01:00
Wojciech Figat
c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00
Wojtek Figat
7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
Wojtek Figat
418aeb281c Add warning to UWP build tool 2022-12-29 23:03:37 +01:00
Wojtek Figat
4b79bcb8d2 Add VS2022 support for building for UWP platform 2022-12-29 23:02:54 +01:00
Wojciech Figat
da08b18ec5 Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest
(cherry picked from commit 6eaecc8793)
2022-12-29 22:23:37 +01:00
Wojtek Figat
e7cf10aea8 Minor tweaks 2022-12-29 21:51:57 +01:00
Wojciech Figat
6ef49349ff Fix assertion on thread double-free from registry (not harmful) 2022-12-29 18:30:51 +01:00
Wojciech Figat
28da925c52 Fix DisableRuntimeMarshalling attribute usage to be declared once per C# assembly 2022-12-29 14:11:22 +01:00
Wojciech Figat
9083f511b5 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 14:01:01 +01:00
Wojciech Figat
c2bb717a69 Exclude StreamingStats from default value generation 2022-12-29 13:56:52 +01:00
Wojciech Figat
2408aa48c1 Fixes for networking change in 762f460e23 2022-12-29 13:56:25 +01:00
Wojciech Figat
45286468c9 Remove old Mono files when cooking game to the same output folder with dotnet7 2022-12-29 11:21:03 +01:00
Wojciech Figat
6f8c007a66 Fix assertion on thread double-free from registry (not harmful) 2022-12-29 11:20:39 +01:00
Wojtek Figat
ae7352831b Merge branch 'CM-close-Fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-close-Fix 2022-12-28 22:27:15 +01:00
Chandler Cox
4eb2ac854e Fixed more CMs that shouldnt close 2022-12-28 13:00:58 -06:00
Wojtek Figat
7539504a8c Fix typo 2022-12-28 19:54:27 +01:00
Chandler Cox
0220c8ced1 fixed skylight to use skylight icon 2022-12-28 12:53:08 -06:00
Wojtek Figat
c35a267cd3 Merge branch 'CM-closing-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-closing-fix 2022-12-28 19:22:50 +01:00
Wojtek Figat
46b65bc546 Format code 2022-12-28 18:51:13 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
Wojtek Figat
6e403abf75 Merge branch 'patch-1' of https://github.com/Withaust/FlaxEngine into Withaust-patch-1 2022-12-28 17:27:32 +01:00
Wojtek Figat
16e7c429fc Minor code cleanup #873 2022-12-28 17:25:30 +01:00
Wojtek Figat
7fcd66588c Merge branch 'includes_cache_lastwrite' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_lastwrite 2022-12-28 17:18:23 +01:00
Wojtek Figat
8762e8ad15 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/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Wojtek Figat
3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
Wojtek Figat
7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
Wiktor Kocielski
163abb107c GPUResource Name property glu e generation fix
This fixes the issue when compiling the editor in the `Release`
2022-12-28 16:23:54 +03:00
5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
Chandler Cox
bdbf931046 Added CM button in ParticleEmitterPreview 2022-12-27 23:08:16 -06:00
Wojtek Figat
cdf50b2560 Merge branch 'center-script-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-center-script-cm 2022-12-27 22:34:19 +01:00
Wojtek Figat
85f7d81ce4 Merge branch 'cancel-search-button' of https://github.com/Tryibion/FlaxEngine into Tryibion-cancel-search-button 2022-12-27 21:53:47 +01:00
Wojtek Figat
6b0ead59d2 Fix code style 2022-12-27 20:24:01 +01:00
Wojtek Figat
1d359d9ed2 Merge branch 'add-button-hover-events' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-button-hover-events 2022-12-27 20:23:04 +01:00
Wojtek Figat
3fdbfab98b Merge branch 'add-author' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-author 2022-12-27 20:00:15 +01:00
Wojtek Figat
025345d99a Merge branch 'add-child-abstract-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-child-abstract-change 2022-12-27 19:47:18 +01:00
Wojtek Figat
c9f4b6e55c Merge branch 'anchor-drop-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-anchor-drop-fix 2022-12-27 19:42:07 +01:00
Wojtek Figat
5bccd010cb Code style fix 2022-12-27 19:22:17 +01:00
Wojtek Figat
8735e0d99c Merge branch 'editor-layout-cache' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-layout-cache 2022-12-27 19:19:46 +01:00
Wojtek Figat
df2e15fe8a Merge branch 'remove-sorting-content-tree' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-sorting-content-tree 2022-12-27 19:09:44 +01:00
Wojtek Figat
25028e1d67 Improve renaming ContentTreeNode as in #849 2022-12-27 19:07:24 +01:00