Ray cast in spawn room vs outside spawn room

Convoluted question about ray cast detection for player owned objects and spawn rooms:

I’m using a ray cast to detect if symmetras turrets are up (I don’t know of any other way of doing this, if y’all do let me know please)

And it works perfectly… But only when I’m in the spawn room. Do y’all have ANY idea why this would be?

For clarity and context, I am comparing a ray cast from the player to the turret position INCLUDING player owned objects, and another one NOT INCLUDING player owned objects. Additionally, no rules set off when I leave or enter the spawn room, so I can’t see how any of my other rules could be tampering with this.

I suspect this is a bug with workshop, but please let me know if I’m missing something

could you post a code, so me/others can inspect the workshop elements directly?
I dont think there is much we can do from description alone.

Okay, here it is:

Conditions:

  • Ray cast hit position(eye position(event player), 1000*Facing direction of(Event player) + eye position (event player), all players(all teams), null, true) != Ray cast hit position(eye position(event player), 1000*Facing direction of(Event player) + eye position (event player), all players(all teams), null, false)
  • is button held(event player, button(melee)) ==true

Actions:

  • event player.effect1 = Ray cast hit position(eye position(event player), 1000*Facing direction of(Event player) + eye position (event player), all players(all teams), null, true)