Commit Graph

456 Commits

Author SHA1 Message Date
Wojtek Figat
84d3103278 Fix crash on incorrect object destruction event
#1920
2024-03-04 14:26:47 +01:00
Wojtek Figat
7f935ab57a Fix regression on abstracts scripts creation 2df3d0f747 2024-02-26 19:47:16 +01:00
Wojtek Figat
f4d236d353 Fix crash on invalid string converted to managed string 2024-02-26 19:01:46 +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
d7dbc0fbdc Fix opening projects with PostFx material assigned in Graphics Settings
#1993
2024-02-21 20:21:45 +01:00
Wojtek Figat
d97772383e Merge branch 'require-script' of https://github.com/Tryibion/FlaxEngine into Tryibion-require-script 2024-02-18 16:00:29 +01:00
Wojtek Figat
f04f1cc90e Add ScriptingEnum::ToStringFlags for printing flag enums into readable text 2024-02-16 12:46:35 +01:00
Wojtek Figat
5fc7c6e190 Add MinCount and MaxCount to Collection attribute 2024-02-15 18:26:12 +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
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Chandler Cox
9874b753cb Merge branch 'master' into collection-ui 2024-01-26 09:54:03 -06:00
Menotdan
8bcc526dd6 Add support for multiple VisibleIf attributes, and properly set up the VisibleIf entries for ImportMaterialsAsInstances and InstanceToImportAs. 2024-01-01 01:24:36 -05:00
Wojtek Figat
3f1d851f82 Fix regression from bc2e130281 2023-12-19 12:37:47 +01:00
Wojtek Figat
bc2e130281 Fix calling script OnDestroy when removing actors or scripts from the scene 2023-12-18 21:43:13 +01:00
Wojtek Figat
7bcf78d0c0 Fix various crashes 2023-12-17 12:38:09 +01:00
Wojtek Figat
74b77bfa4c Fix regression from 38a0718b70 2023-12-06 14:34:34 +01:00
Wojtek Figat
8faaaaaf54 Fix incorrect structure usage for hostfxr params siize
#2037
2023-12-06 11:20:32 +01:00
Wojtek Figat
38a0718b70 Fix invalid tracy events from C# profiling api when profiler gets connected mid-event 2023-12-06 00:24:30 +01:00
Wojtek Figat
cebd28c3a7 Revert fd938e8284 2023-11-29 18:46:18 +01:00
Wojtek Figat
8ff4f95cef Optimize some code and cleanup code style in natvis file 2023-11-28 16:02:51 +01:00
Wojtek Figat
35ebdb0ffe Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
2023-11-28 11:24:17 +01:00
Wojtek Figat
fd938e8284 Fix incorrect pointer marshalling from Variant to managed runtime
#1992
2023-11-28 11:22:14 +01:00
0bcd0154e1 Remove wrong .NET SDK preprocessor definitions and support NET8_0
Only `X_OR_GREATER` symbols should be defined for all versions, and only
the latest detected SDK symbol should be generated.
2023-11-26 20:27:54 +02:00
Wojtek Figat
b3a18883ca Fix iOS startup 2023-11-25 21:46:22 +01:00
Wojtek Figat
2cef368282 Update missing unmanaged function callback error message 2023-11-24 21:45:59 +01:00
Chandler Cox
9de408e4e8 Fix comments 2023-11-16 21:46:37 -06:00
Chandler Cox
2ac8480df4 Simplify RequireScriptAttribute code. 2023-11-16 21:45:33 -06:00
Chandler Cox
44e55cc8b6 Add require Actor attribute 2023-11-16 21:25:40 -06:00
Chandler Cox
de55ad90b7 Add require script attribute and functionality. 2023-11-16 20:57:53 -06: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
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
2555b07edf Merge branch 'dotnet8_rollforward_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_rollforward_fix 2023-11-15 11:44:21 +01:00
Wojtek Figat
bc3107d1db Fix build warnings on the latest XCode 2023-11-14 19:03:46 +01:00
3f5c92e2fa Improve .NET 8 runtime and SDK detection
Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
2023-11-14 17:00:51 +02:00
Wojtek Figat
3320c76e14 Add soft check for null managed object value for unboxing 2023-11-14 11:23:15 +01:00
Wojtek Figat
13881c7d97 Merge branch 'LightThemeTweaks' of https://github.com/Radiangames/FlaxEngine into Radiangames-LightThemeTweaks 2023-11-13 17:02:12 +01:00
Wojtek Figat
97a28d4431 Add security lockers for managed typeinfo access 2023-11-13 15:48:12 +01:00
Wojtek Figat
c3d74b690e Fix editor plugins init regression from #1779 and compact more code 2023-11-06 18:13:06 +01:00
Wojtek Figat
b47420f232 Compact various source code chunks 2023-11-06 16:56:15 +01:00
Wojtek Figat
a0d4714a0f Add always logging unhandled c# exception
#1861
2023-11-06 12:23:17 +01:00
Wojtek Figat
f703e7de77 Fix compile error 2023-11-06 11:05:31 +01:00
Wojtek Figat
7e6c8b7b32 Codestyle fix #1779 2023-11-06 10:33:11 +01:00
Wojtek Figat
23369c2ff3 Merge branch 'plugin-order' of https://github.com/Tryibion/FlaxEngine into Tryibion-plugin-order 2023-11-06 09:37:09 +01:00
Wojtek Figat
a7bb236344 Fix Mono GC threads suspend to not deadlock when attaching native threads to managed runtime
#1864
2023-11-05 14:07:05 +01:00
Wojtek Figat
6ddf241ea4 Minor improvements to reference properties 2023-11-03 22:40:18 +01:00
Wojtek Figat
b0fe99f1ec Disable mono thread attach to fix current freeze on GC STW event 2023-10-31 16:11:09 +01:00
Wojtek Figat
37a6ea9beb Merge remote-tracking branch 'origin/master' 2023-10-31 14:21:00 +01:00
Wojtek Figat
1567c1c8d6 Fix Mono AOT on iOS to not freeze during GC stop-the-world event on memory collection 2023-10-31 14:15:35 +01:00
Wojtek Figat
2d1d8cc310 Fix typo 2023-10-30 18:34:20 +01:00