Game objects turn black with high bloom

Good morning, I’m still learning how to use Unity. I wasn’t having this problem when I was using version 6000.0.20f1, but I saw the message about the security issue and switched to 6000.2.10f1. Then it started giving an error that I don’t even know exactly what it is. When I asked Gemini, he recommended changing the bloom in the global volume, but it doesn’t actually solve the problem, it just masks it. My game’s theme is city simulation/colony builder, and some specific buildings, in a seemingly random way, become completely black and have a huge bloom. Here’s the image.
I’m using a light source, but with a radius of 2 units, this image is at 30.
The light settings are the same for everyone.

Please, someone help!


Bom dia, ainda estou aprendendo a usar a unity, não estava tendo esse problema quando estava usando a 6000.0.20f1, mas vi o recado sobre o problema de segurança e mudei para o 6000.2.10f1 , dai começou a dar uma erro que nem sei direito o que é, ao pedir para o gemini , ele recomendou alterar o bloom no global volume, mas não resolve em si o problema apenas mascara, o tema do meu jogo é simulado de cidade/construtor de colônia , enfim, alguns prédios em especifico , de forma até então aleatória ficam totalmente preto e possuem o bloom enorme, segue a imagem.
uso fonte de luz, mas com raio de 2 unidades, essa imagem está a 30.
as configurações de luz, são iguais para todos
por favor , alguem ajude.

Might be for other reasons, but i’ve had this happen when i accidentally output a NaN on the shader that is drawing those objects.

Try checking if this happens through the Game camera (not the Editor cam) in Game Mode. If it does, go to the camera Inspector and check the option “Stop NaN propagation”. If this fixes it, then you gotta open the shader and try to find where the NaN is coming from.

Most common source of NaNs is divisions by zero. Try getting to a place where you can force the bug to appear, and start isolating parts of the shader until it doesnt appear again

Thank you very much, the “Stop NaN propagation” command really worked, now I’m looking for what’s causing it. Thank you.