MyLaserAntenna's faulty LosTest()

Shane Stixrud shared this bug 11 months ago
Solved

MyLaserAntenna fails it's line of sight test for entities without physics. This includes projected/preview MyCubeGrids and all MyEntities. I discovered this bug while developing my Defense Shields mod, but it affects non-modded games as well (projected grids).


In my opinion the best and simplest fix is to first check if the MyEntity has active physics and if not ignore that entity

Comments (14)

photo
2

Hello,

I reported the issue and someone will look at it. We will inform here once some progress is made.

Thank you.


Kind Regards

Keen Software House: QA Department

photo
4

Just wanted to bump this thread for OP's benefit since it's been a month or so.

photo
1

Hey @Keen Support any update?

photo
1

Hello,


this was supposed to be fixed in version 1.189.


Anyone still having the issue?

photo
1

Hello, Laser Antennas just don't work, I can't connect if distance is more then 50mt between them, same grid or different grids doesn't matter.

photo
1

Through testing, I am unable to establish a connection with a grid(Laser Antenna B) that is no more than 1km from Laser Antenna A, but is just outside the "bubble" of the Defense Shields mod Shield. However if I lower the Laser Antenna B grid into the shield, the laser antenna is able to establish a connection. To further my issue, after establishing connection between Laser Antenna's A and B I then raised B back up above the shield bubble. Both Laser Antenna lose connection the moment Laser Antenna B grid moves back above the bubble of the shield. From this I gather that the bubble of the shield counts as an entity that the laser antenna's cannot establish connections through. Also from what I gather, the mod maker that started this thread determined that this affects unmodded games as well that fall under similar circumstances.

photo
1

Yep, it's not fixed.

photo
1

Not fixed.

photo
photo
1

I just checked and this issue is NOT fixed. MyEntities with null physics still block the laser.

photo
1

Shane, I see you are also fighting with not being able to see what you type on this site, right?

photo
photo
1

Hello,


can you upload the world where it is happening? I tried it but I am not able to reproduce it.

photo
1
photo
photo
1

This issue is still not solved from my testing..

photo
1

This is still an issue. As described previously while inside the bubble they connect but outside the bubble no they cannot connect. The only thing that fixes it, is turning off the shield emitter.