Context
The showFlag.CollisionVisibility 1 cvar is a viewport visualization mode that highlights which Actors will block visibility. The showFlag.CollisionPawn 1 cvar is a Player Collision viewmode which highlights assets that collide with a character or Pawn. In these modes, only the respective collisions are rendered in the viewport.
Problem
The licensee noticed that setting `showFlag.CollisionVisibility 1` in one of their production levels seemed to omit most collision geometry in a Development game build, with `showFlag.CollisionPawn` also exhibiting the same issue. Everything seems to work fine in PIE and when the licensee tried a test level everything seemed fine at first, but then they noticed a select few assets were indeed missing in the collision view. Most of the test level is composed of simple block-out meshes which do not have Nanite enabled, but the pieces with no collision drawn (they do have collision) were production assets with Nanite enabled.
It is the licensee's understanding that the `showFlag.CollisionVisibility` and `showFlag.CollisionPawn` views should work in Development builds of the game, but this doesn't seem to be happening for StaticMesh assets that have Nanite enabled. Since nearly all of their production assets are going to have Nanite enabled this is going to make the collision views in game builds entirely unrepresentative.
1.) Add a StaticMesh with Simple Collision and Nanite enabled to a level.
2.) Save and cook the project.
3.) Package the project as a Development build.
4.) Run the packaged build and load the level containing the StaticMesh.
5.) Set `showFlag.CollisionPawn 1` in the console.
Observe: While the mesh has collision in game, it does not appear in the Player Collision view.
Expected: The Nanite-enabled mesh should show up in the collision view.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-294281 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.4.4, 5.5.4 |
Created | Jun 2, 2025 |
---|---|
Updated | Jun 6, 2025 |