Search Issue Tracker
Fixed
Fixed in 2023.3.0a13, 7000.0.0a1
Votes
0
Found in
2022.2.0b10
2023.3.0a7
7000.0.0a1
Issue ID
UUM-20257
Regression
No
Ray Trace Shader stops working when using multiple "RayTracingShader.SetAccelerationStructure" methods
How to reproduce:
1. Open the attached project “RayTraceBug.zip“
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Enter Play Mode
Expected result: Red stains appear on the magenta GameObjects
Actual result: Red stains don’t appear on the magenta GameObjects
Reproducible with: 2022.2.0b10
Can’t test with: 2020.3.39f1, 2021.3.11f1, 2022.1.18f1 (Errors in the Console), 2023.1.0a15 (Crashes when entering Play Mode and in builds)
Reproduced on: Windows 10 (19044.2006)
Can’t test with: macOS (12.5 Intel) (“The RayTracing API is not supported by this GPU or by the current graphics API.“)
Stacktrace for Unity 2023.1.0a15:
0x00007FFEB67358BA (Unity) GfxDeviceD3D12::BuildBottomLevelAccelerationStructures
0x00007FFEB6735D7A (Unity) GfxDeviceD3D12::BuildRayTracingAccelerationStructure
0x00007FFEB7CFCA49 (Unity) GfxDeviceWorker::RunCommand
0x00007FFEB7D01A8B (Unity) GfxDeviceWorker::RunExt
0x00007FFEB7D01BA8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FFEB63A3B5D (Unity) Thread::RunThreadWrapper
0x00007FFF4D6E7034 (KERNEL32) BaseThreadInitThunk
0x00007FFF4EF626A1 (ntdll) RtlUserThreadStart
Note: Issue reproducible in Builds
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Resolution Note (fix version 7000.0.0a1):
Fix verified in:
2024.1.0a1.git.main.12575891
Revision: main bfe4930b147f
Built: Wed, 13 Dec 2023 05:33:39 GMT
Verified with the original case in RayTraceBug.zip. I had to resolve compilation errors because of deprecated AddInstance signature.
Resolution Note (fix version 2023.3.0a13):
Fix verified in:
2023.3.0a13.1974
Revision: trunk 5d06f0fc0243
Built: Thu, 26 Oct 2023 10:38:27 GMT