MyLaserAntenna's faulty LosTest()

Shane Stixrud shared this bug 22 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 (11)

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
2

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
2

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
2

Yep, it's not fixed.

photo
2

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
2
photo
2

Lots of people saying it's still not fixed yet Keen have left it marked as "Solved"?

photo
photo
2

This issue is still not solved from my testing..

photo
2

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.

photo
1

Did they ever fix this?

photo
2

I have either this issue or a similar one on the Xbox version of the game. When setting up a laser link from Mars orbit to Earthlike orbit (No clue why I did it), the lasers would not detect each other. this continued to happen no matter how many times I went back and forth (in creative mode) to make sure they were set to the right coordinates.

Edit: I misread the issue. The issue for me is just not loading the other station across all the distance.

photo
2

As per @Nicholas Wayne Gross's comment, laser antennas are still being blocked by the shield emitter. They cannot connect within a 1km range of the shield emitter.