#Objects partially disappear in web build

6 messages · Page 1 of 1 (latest)

pulsar remnant
#

Why are objects partially disappear when moving the camera? In play mode everything is fine, but in web it's like this. I updated unity to version 6, but it didn't help. Before that I tried reducing the graphics settings and after that changing dynamic occlusion. The graphics problem happens with the standard unity cube, so the problem is not in the model. The project uses URP and the objects use URP/Lit shader.

Translated with DeepL.com (free version)

final pilot
#

Looks like an Update vs LateUpdate glitch

#

checks all the update loops and when the camera moves

#

usually you want the camera to move as last or in LateUpdate

pulsar remnant
#

Oh, wow, indeed. My camera moved by cinemachine in Smart Update mode, while the target moved in update. Changing the Update Method from Smart Update to Late Update improved it a lot. There's still a little glitch at the bottom of spikes though. Is there a suggestion how I could fix it? Currently camera moves by cinemachine in Late Update, while its target moves in Update which copies z position of an object that moves linearly in Fixed Update if that's relevant.

final pilot
#

I'm not seeing any glitch besides anti aliasing