Facepunch / sbox-issues

175 stars 12 forks source link

Water you doing #4000

Closed rodlopt closed 1 year ago

rodlopt commented 1 year ago

Describe the bug

Sandbox code shugs re-write it

To Reproduce

  1. Box-shooter
  2. Aim at water
  3. Click r
  4. Shoot
  5. Chaos

Expected behavior

The 3d skybox shouldn't fuck up?

Media/Files

https://github.com/sboxgame/issues/assets/142238897/0de2806b-7332-487d-9d56-ebcb25b15405

Additional context

I also did respawn_entities so maybe that's why

decltypeauto commented 1 year ago

gosh fp, WATER you doing!?!?!?

handsomematt commented 1 year ago

You were duplicating the water model with the box shooter, I've made that impossible now.

I can't recreate the issue with the skybox, but if it occurs again please make an issue with some recreation steps.

trende2001 commented 1 year ago

You were duplicating the water model with the box shooter, I've made that impossible now.

I can't recreate the issue with the skybox, but if it occurs again please make an issue with some recreation steps.

The skybox being removed and re-created is from Game.ResetMap, it doesn't have the sky_camera in its filters by default. So therefore it causes a glitched 3d skybox

handsomematt commented 1 year ago

I ran respawn_entities and nothing happened, the sky entities get remade with the exact same values.

trende2001 commented 1 year ago

I ran respawn_entities and nothing happened, the sky entities get remade with the exact same values.

I think it's a matter of how many times it's done, then it starts creating duped sky_cameras and the console starts logging "Multiple sky_camera?"