Raytracing Error Crash in 5.6

Hey I need Help with a issue I got. I got crashes when open the level here the report. I deleted already the derivated cache, sometimes duplicating the level helps for a short time, than crashes again. I imported CitySample Buildings im all Levels. As a try, I set them in an extra Sublevel, to unload it. It helps a bit, but the Project Still crashing every 10 Minutes. I need to reopen it et least 3 times again and again to load all complete without crash. always this error. >>> Assertion failed: CachedRayTracingInstance.GeometryRHI [File:D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\PrimitiveSceneInfo.cpp] [Line: 1350] Any Idea??

Hi @Tom_G_HH ,
I did some research and it seems that this error appears because an object in your scene is trying to use Ray Tracing, but the associated geometry is either not properly set up or not available. It usually happens when Ray Tracing is enabled in the project and a mesh doesn’t have the necessary data or is not correctly initialized. It can also occur if you’re using Nanite together with Ray Tracing, since in certain engine versions that combination can cause conflicts.

I found a similar case here:

In that thread, the crash was caused by a transparent plane mesh that triggered a similar Ray Tracing geometry error. Removing that mesh solved the issue.

Hope it helps!

1 Like

Thank you BRGEzedeRocco, I created a City environment and not sure how to find the Assets ?!?!

We had a lot this issue recently, sometimes with the line 1350, sometimes with the line 1356, sometimes on opening the project, sometimes just after clicking on the button render with MRQ.

I recommand you to check :

  • find and remove all instanced static meshes components with 0 instances

- find and remove all instanced static meshes components without meshes

- check if a BP doesn’t have a function Clear Instances or Destroy Component on an ISM/HISM component added manually in the BP’s components (top left of the BP editor) (no problem with the ones that are build with the nodes Add ISM/HISM Component)

1 Like