Commit Graph

4105 Commits

Author SHA1 Message Date
Wojciech Figat
06b2bf0094 Add logging native exception stack trace on Windows when debugger is attached before going back to the crash location 2023-01-03 15:58:02 +01:00
Wojciech Figat
e596d48729 Merge remote-tracking branch 'origin/1.5' into dotnet7 2023-01-03 14:34:20 +01:00
Wojciech Figat
ceacdc8d08 Fixes for dotnet7 bindings to pass unit tests 2023-01-03 14:34:16 +01:00
Wojtek Figat
b4faa128b7 Fix case when Variant wrappers overlap with the name 2023-01-02 22:04:14 +01:00
Wojtek Figat
9ffeb8031b Fix tests regression 2023-01-02 21:45:51 +01:00
Wojciech Figat
dea307179f Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7
# Conflicts:
#	Source/Engine/Engine/NativeInterop.cs
2023-01-02 11:04:36 +01:00
Wojciech Figat
e718766073 Merge branch 'dotnet7' of https://github.com/envision3d/FlaxEngine into envision3d-dotnet7 2023-01-02 10:59:39 +01:00
Wojciech Figat
d3cdca6b33 Merge remote-tracking branch 'origin/1.5' into dotnet7 2023-01-02 10:37:04 +01:00
Wojciech Figat
e48b642101 Minor code cleanup 2023-01-02 10:36:57 +01:00
Wojciech Figat
9acb597d5d Adjust scripting types visibility in editor 2023-01-02 10:36:24 +01:00
Wojciech Figat
00d960d61e Refactor abstract classes handling for scripting types creation (eg. Script or GPUResource) under dotnet7 2023-01-02 10:35:39 +01:00
Wojtek Figat
59568fb5c8 Minor editor tweaks 2023-01-01 23:17:23 +01:00
Wojtek Figat
bc7bf72660 Fix case when child context menu is already hidden and changed to other from code 2023-01-01 21:42:35 +01:00
5b4e209816 Fix creating delegates to scripting methods after script reload 2023-01-01 22:06:00 +02:00
Wojtek Figat
4afa59a783 Fix missing scripting and serialization extensions for SceneReference usage in scripts 2023-01-01 19:15:59 +01:00
Wojtek Figat
084fe6f063 Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder 2023-01-01 18:55:09 +01:00
Wojtek Figat
9554636971 Add bigger input value boxes to Visject Surface 2023-01-01 18:30:15 +01:00
Wojtek Figat
f246fc018d Fixes for 2df3574cfa 2023-01-01 16:54:01 +01:00
Wojtek Figat
2df3574cfa Refactor new tags system to use uint for tag index (0 is invalid tag) 2023-01-01 16:39:34 +01:00
Wojtek Figat
c976d190a5 Add Tag to PhysicalMaterial for physical surfaces tagging 2023-01-01 16:38:50 +01:00
Wojtek Figat
b73bd519be Add navmesh update on terrain sculpt undo/redo and deffer navmesh update when sculpting action ends to prevent stalls 2022-12-31 14:43:50 +01:00
21c67b4777 Fix weak ManagedHandles collection 2022-12-31 15:34:16 +02:00
2f507091b2 Fix ManagedHandle marshalling 2022-12-31 15:30:58 +02:00
Wojtek Figat
081305fab7 Fix regression from 0ca8fe2f45 for value types 2022-12-31 13:23:36 +01:00
Wojtek Figat
a10fb703fc Add unit test for scripting interface to ensure generated bindings code works fine 2022-12-31 13:10:19 +01:00
Wojtek Figat
0ca8fe2f45 Fix passing reference types back to the native code from scripting event 2022-12-31 00:22:04 +01:00
Wojtek Figat
a253e01dbd Add unit test for scripting event to ensure generated bindings code works fine 2022-12-31 00:21:28 +01:00
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
envision3d
78a2f2e8f0 Remove UWP platform from deployer script to fix platform packaging 2022-12-29 16:40:10 -06: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