Commit Graph

10720 Commits

Author SHA1 Message Date
VitaminCpp 63def54dad Merge branch 'FlaxEngine:master' into hash_set_crash_fix 2025-11-28 15:55:15 +01:00
Michael Herzog 00f9a28729 Fixed HashSet compaction count after mid-compact growth
Ensure HashSetBase::Compact() preserves _elementsCount even when EnsureCapacity() triggers during compaction. The growth path resets the counter; we now cache the original count and restore it after moving all buckets so Count() stays correct in heavy-collision scenarios.
2025-11-28 15:51:57 +01:00
mafiesto4 a1999183f2 Fix compilation regression 2025-11-27 09:13:14 +01:00
mafiesto4 1e3ce48024 Fix compilation regression 2025-11-26 23:43:20 -08:00
mafiesto4 403d2cedc0 Updates to engine for porting to blue platform 2025-11-26 06:28:54 -08:00
mafiesto4 c8839b8587 Add support for Cooperative Suspend when running on Mono
Informs mono runtime that Job System, Thread Pool or Content Load threads can wait when they are going idle between tasks.
2025-11-26 00:22:48 -08:00
mafiesto4 cf048c9804 Fix path filter query warning 2025-11-26 00:07:00 -08:00
mafiesto4 bea75f51bd Fix AOT libs cooking to avoid file dirtying for more accurate iterative cooking 2025-11-26 00:02:40 -08:00
Michael Herzog d9a18b1d31 Fixed HashSet compact rehash under heavy collisions
- Compact now iterates over the old bucket array using the saved oldSize, and frees with that size, avoiding out-of-bounds when _size changes.
- If reinsertion finds no free slot during compaction (pathological collisions), the table grows once and retries, preventing AVs.
- This fix addresses problems with weak hash keys (like #3824).
2025-11-25 21:23:49 +01:00
mafiesto4 92254eefcc SImplify some code and update code for platforms 2025-11-25 00:20:14 -08:00
mafiesto4 2a55cda583 Add fallback location of engine managed library on AOT platforms 2025-11-20 14:58:30 -08:00
mafiesto4 7c91c03adf Merge remote-tracking branch 'origin/master' 2025-11-20 06:26:09 -08:00
mafiesto4 caa902ea9b Fix shader compilation without HLSL 2021 on Vulkan 2025-11-20 13:47:23 +01:00
mafiesto4 fb07071e24 Restore Global Surface Atlas and DDGI on Apple platforms
#3797
2025-11-20 13:47:18 +01:00
mafiesto4 a1cb7dcbe7 Fix GPU BVH shader compilation for macOS/iOS 2025-11-20 13:47:11 +01:00
mafiesto4 032f698c7b Fix shader warning 2025-11-19 23:29:28 -08:00
mafiesto4 e2aaef9b88 Fix shader warning 2025-11-19 08:27:33 -08:00
mafiesto4 1523c7b4ce Merge branch 'fix-spline-draw' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-spline-draw 2025-11-18 21:30:50 +01:00
mafiesto4 9ff9d48ffd Merge branch 'fix-anim-event-edge' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-anim-event-edge 2025-11-18 21:30:01 +01:00
mafiesto4 dfb1fb91a5 Fix ability to override material instance hidden parameters
#3802
2025-11-18 21:29:51 +01:00
mafiesto4 8f56ab9534 Fix crash when creating empty material instance 2025-11-18 18:45:43 +01:00
mafiesto4 c0dda45c7b Fix crash on exit when C# code was bound to asset unloading event called after C# shutdown 2025-11-18 18:00:02 +01:00
mafiesto4 3efb981f00 Fix rare issues on input bugs in Visject 2025-11-18 16:51:43 +01:00
mafiesto4 ed408917c6 Fix Visject Surface node dependent connection types init on load
#3802
2025-11-18 16:41:24 +01:00
mafiesto4 2ca435a414 Fix shader graph assets loading to wait for async task
#3802
2025-11-18 16:11:31 +01:00
mafiesto4 de9e282bad Fix config version in GDK manifest 2025-11-18 05:42:21 -08:00
mafiesto4 c437daf9be Fix new compiler DXC changes 2025-11-18 05:42:02 -08:00
mafiesto4 1e4f96486f Fix audio playback bug from video on Xbox 2025-11-18 03:55:52 -08:00
mafiesto4 e03d0f3322 Fix shader compilation with HLSL 2021 2025-11-18 12:09:20 +01:00
mafiesto4 5f0e1253cc Refactor DX12 Root Signature creation to support offline construction
Fix running D3D12 on integrated AMD GPU
2025-11-18 12:08:54 +01:00
mafiesto4 7e6b040258 Update DXC shader compiler to 1.8 version (for D3D12) 2025-11-18 12:08:11 +01:00
mafiesto4 329ebb6482 Add custom shader compiler for Xbox Scarlett 2025-11-18 12:07:39 +01:00
mafiesto4 7a9c58003d Fix video playback on Xbox 2025-11-17 04:41:57 -08:00
mafiesto4 371a16e37b Fixes for Xbox with Mono AOT 2025-11-16 14:50:22 -08:00
Tryibion 95629e792d Fix additional edge cases 2025-11-15 22:12:35 -06:00
Tryibion e79af2fd60 Handle additional edge cases for anim event. 2025-11-15 21:39:21 -06:00
mafiesto4 4aba0153f8 Prioritize Dotnet libs on Mono AOT 2025-11-15 14:57:12 -08:00
mafiesto4 f91c33e17c Another fix for shader compilation on Vulkan 2025-11-15 23:42:03 +01:00
Tryibion 6c29877b20 Fix spline bezier drawing. 2025-11-15 15:58:50 -06:00
mafiesto4 b42168eee5 Merge branch 'fix_bvh_generation_crash' of https://github.com/VitaminCpp/FlaxEngine into VitaminCpp-fix_bvh_generation_crash 2025-11-15 22:31:49 +01:00
mafiesto4 ac3b2c0ef2 Fix shader warning 2025-11-15 22:13:22 +01:00
Michael Herzog f640452b7b Fix BVH node splitting using stale pointer to invalidated array memory
Ensure BuildBVH refreshes its node pointer after growing _bvh so reallocations no longer leave it operating on freed memory, eliminating the sporadic SDF-generation crash.
2025-11-15 21:57:14 +01:00
mafiesto4 2f670495ac Migrate Xbox to using static linking with nethost lib 2025-11-14 14:56:10 +01:00
mafiesto4 2a36edf528 Add option to link OpenMP on GDK platforms if needed 2025-11-14 02:11:13 -08:00
mafiesto4 5e690abd76 Fix initial state of DummyVertexBuffer on DX12 2025-11-14 01:06:01 -08:00
mafiesto4 4008e19ca9 Fix various build issuesin uncommon configurations 2025-11-14 00:52:14 -08:00
mafiesto4 e9070b30a0 Minor tweaks 2025-11-13 23:05:13 +01:00
mafiesto4 636a1ff930 Fix material shader generation when material layer fails to load 2025-11-13 23:04:24 +01:00
mafiesto4 3888c4ba21 Fix async tasks destruction to wait on the dependencies in chain 2025-11-13 22:53:52 +01:00
mafiesto4 69173803bf Fix shader warning on Vulkan 2025-11-13 22:09:11 +01:00