• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

VaM 1.x How to address CUA visual bug causing disappearance at normal camera angles

Threads regarding the original VaM 1.x

random2bug

New member
Joined
Jul 18, 2025
Messages
5
Reactions
0
Description:
When loading a character with clothing that include CUA, in some scenes (often they use UI buttons) it will trigger a visual bug affecting CUA elements as well as UI buttons, where they appear to disappear when viewed from the normal camera angle.
However, they are not actually removed from the scene—they remain present but are only visible when the camera is moved to an unusual angle that does not face the main character.

Question:
What is the best way to fix or handle this issue so that CUA elements/UI buttons remain visible from the standard gameplay camera angle?
 
There is no connection between UI/CUA and camera location/POV by default.
On the other hand, a CUA might be borked and contain components or materials that could break a proper rendering.

Giving us a video of the behavior or what CUA is the culprit can help. Without this, there is no "standard" behavior where CUA disappear like this, so it's gonna be hard to help you.
 
Upvote 0
Description:
When loading a character with clothing that include CUA, in some scenes (often they use UI buttons) it will trigger a visual bug affecting CUA elements as well as UI buttons, where they appear to disappear when viewed from the normal camera angle.
However, they are not actually removed from the scene—they remain present but are only visible when the camera is moved to an unusual angle that does not face the main character.

Question:
What is the best way to fix or handle this issue so that CUA elements/UI buttons remain visible from the standard gameplay camera angle?
This happens for a few reasons.
Transparency handling is a well-known issue in unity so a transparent CUA material can conflict with a semi-transparent UI. In many cases adjusting the material’s render queue to 3010+ can fix the overlap issue. However this may introduce other problems with the object’s lighting.
CUAs may disappear because unity thinks the mesh has moved behind the camera it gets culled from rendering. This usually happens when the mesh origin is at world zero but the mesh itself is positioned several meters away, unity may cull rendering it when the origin falls outside the camera frustum.
 
Upvote 0
CUAs may disappear because unity thinks the mesh has moved behind the camera it gets culled from rendering. This usually happens when the mesh origin is at world zero but the mesh itself is positioned several meters away, unity may cull rendering it when the origin falls outside the camera frustum.

Yup, that'd be a very badly authored CUA :3
 
Upvote 0
Back
Top Bottom