Commit Graph

312 Commits

Author SHA1 Message Date
GoaLitiuM b6879e7688 Fix concurrent access to cached marshalled type sizes
Also optimize hot path for type size when we have generic type
2024-03-03 01:32:52 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 8898c20ad1 Fix crash when using generic interface in C#
#1983
2024-02-25 23:40:14 +01:00
mafiesto4 2df3d0f747 Fix crash when loading level with abstract script class
#1990
2024-02-25 14:54:57 +01:00
mafiesto4 318b00c617 Fix editor exit with error code when game cooking CL fails
#2248
2024-02-21 23:18:09 +01:00
mafiesto4 f0f8da3c09 Various fixes 2024-02-16 12:29:59 +01:00
mafiesto4 07e93e261e Fix physics simulation result collection to happen before draw or next update 2024-02-13 09:52:26 +01:00
mafiesto4 082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
mafiesto4 37da55896c Remove unused DateTime apis and cleanup constants 2024-01-05 11:15:32 +01:00
Diego Fonseca c17ff3926a Update Time.cpp 2023-12-08 14:35:10 -05:00
Diego Fonseca 4707f98fab Update Time.cpp 2023-12-08 14:13:50 -05:00
mafiesto4 7db0ae59bb Fix managed method delegate creation to be thread-safe 2023-12-07 14:35:13 +01:00
mafiesto4 cebd28c3a7 Revert fd938e8284 2023-11-29 18:46:18 +01:00
mafiesto4 d3a77c7a55 Fix regressions 2023-11-28 17:38:06 +01:00
mafiesto4 0aeac36f09 Fix __cplusplus macro on MSVC and add logging C++ version used during compilation 2023-11-28 15:55:34 +01:00
mafiesto4 fd938e8284 Fix incorrect pointer marshalling from Variant to managed runtime
#1992
2023-11-28 11:22:14 +01:00
mafiesto4 39dc5939e3 Fix crash when boxing native non-POD structure into managed format
#1992
2023-11-27 17:08:07 +01:00
mafiesto4 0f14672e3b Codestyle formatting and fixes for #1888 2023-11-13 09:45:33 +01:00
mafiesto4 0fe9f6f439 Merge branch 'Flax-SSDev' of https://github.com/SinnersSum/FlaxEngine into SinnersSum-Flax-SSDev 2023-11-12 21:47:45 +01:00
SS 77b6a4a68b Fixed issue in NativeInterop
Readded check in current app domain to ExtendedSerializationBinder
2023-11-07 16:03:03 -07:00
SS d6e93a7fab Fixed issue involving stale scripting assemblies in FlaxEngine.Json dynamic type resolution
Added new ExtendedSerializationBinder
Added callback to clear serializer cache on scripting assembly reload
Added low-cost mechanism to invalidate the SerializerCache after domain reload
2023-11-06 18:49:30 -07:00
mafiesto4 b47420f232 Compact various source code chunks 2023-11-06 16:56:15 +01:00
mafiesto4 bfaa292b04 Fix invoking managed method on value types (eg. Transform) to properly handle instance value
#1801
2023-10-26 11:37:37 +02:00
mafiesto4 e4b89e1bad Fix plugins initialization order to properly unload scenes before them in cooked game 2023-10-14 16:20:27 +02:00
mafiesto4 74a69b8f13 Fix running game in non-ANSI path
#480
2023-10-12 22:29:48 +02:00
mafiesto4 af468ee6ae Fix scripting interop in AOT mode to use reflection-based field access 2023-10-11 15:18:28 +02:00
mafiesto4 ac542bf920 Fix FieldHelper.GetFieldOffset crash for classes with const fields (compile-time)
Inline call in `CreateScriptingObject` for perf
2023-10-10 20:52:12 +02:00
mafiesto4 18aafb6fc7 Fix regression from #1312 when passing structure from C++ to C# thunk as already boxed value 2023-10-05 11:35:52 +02:00
mafiesto4 e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
mafiesto4 3a2ff0f4a2 Merge branch 'input' of https://github.com/Tryibion/FlaxEngine into Tryibion-input 2023-10-02 21:30:31 +02:00
Tryibion 4e42f84873 Fix bug in depreciated triggered action placement. 2023-10-02 08:39:13 -05:00
mafiesto4 b9198fc7a1 Merge remote-tracking branch 'origin/master' 2023-10-02 12:54:41 +02:00
mafiesto4 dd21020297 Merge remote-tracking branch 'origin/master' into 1.7 2023-10-01 13:17:41 +02:00
mafiesto4 fc499b763d Merge branch 'main-win' of https://github.com/Tryibion/FlaxEngine into Tryibion-main-win 2023-10-01 12:33:54 +02:00
mafiesto4 19a0eab966 Merge branch 'sceneanim_null_check_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sceneanim_null_check_fix 2023-10-01 12:12:21 +02:00
Tryibion 113307ddf9 Simplify to return main window even in editor. 2023-09-30 21:36:41 -05:00
Tryibion 85a985cd7f Expose Main Window to c# through Screen class. 2023-09-30 13:52:20 -05:00
mafiesto4 fd3f10864b Fixes for iOS #1312 2023-09-29 00:00:51 +02:00
mafiesto4 f77198c7ca Fixes for iOS #1312 2023-09-29 00:00:21 +02:00
GoaLitiuM 96d880df6a Fix crash in SceneAnimationPlayer 2023-09-28 22:06:07 +03:00
mafiesto4 58b9d76d24 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Editor/Viewport/PrefabWindowViewport.cs
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
mafiesto4 82b2f46b48 Post-merge tweaks for #1312 2023-09-28 19:21:06 +02:00
mafiesto4 279528a30d Merge branch 'marshalling_scriptingobject_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
#	Source/Engine/Scripting/Runtime/DotNet.cpp
2023-09-28 18:41:20 +02:00
mafiesto4 2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
Tryibion d14dc56b5c Change name to AxisValueChanged. 2023-09-26 10:26:06 -05:00
Tryibion 071a73c6d9 Add AxisChanged event to InputAxis. 2023-09-26 10:03:34 -05:00
Tryibion 3a9dd3f8f8 Small wording change 2023-09-26 09:41:41 -05:00
Tryibion ed2dd7211a Add back depriciated Triggered event. 2023-09-26 09:40:30 -05:00
Tryibion eeab9774a9 Add easily getting action state 2023-09-26 09:31:23 -05:00
Tryibion ea1da0481f Change input event to trigger different input states. 2023-09-26 08:35:10 -05:00