Author Topic: Fog profile not updating  (Read 63 times)

Dls

  • Guest
Fog profile not updating
« on: January 06, 2021, 05:11:09 AM »
Hi, I have a question about changing fog profiles at runtime.

I set up a simple script  with just a couple of key presses swapping out the two profiles I have.

The issue is, at runtime profile A is running and looks normal... I press a key and profile B is running normally... I press the first key to run profile A again and that profile changes for some reason, and the only way to get it to look normal again is to manually open fog&mist2 in the inspector (if its collapsed) or by manually reloading the profile in my script.

I have "sync with profile" enabled  but the fog height and density seem to change for some reason.
If i leave fog&myst2 open in the inspector and run the game, when I press the key, I can see the bad profile load in first (very quickly) then the correct profile comes in.

Any help would be appreciated, thanks.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6521
    • View Profile
Re: Fog profile not updating
« Reply #1 on: January 06, 2021, 09:54:06 AM »
Could you please send both profile assets by email?

Dls

  • Guest
Re: Fog profile not updating
« Reply #2 on: January 07, 2021, 02:19:00 AM »
Could you please send both profile assets by email?

Sent. Thank you.