[1.203.505 b1 AI Recorder block bug] recorder skips waypoints without going anywhere, video inside

ALPHA shared this bug 2 years ago
Investigating

No mods.

Bug is inconsistent, I tried 21 attepmts to reproduce and record but succeeded only 3 times.

I think it's the same bug as described here.

My successfull atempts to reproduce:

Video 1

Video 2

Video 3, several drones stucked at one

I attached a save file.

How to reproduce:

1. Load save file.

2. Turn around and press "returnall" button on a panel next to you.

3. 8 drones orbiting an enemy will recieve a command to return to bay. 1 should go directly to bay using its Recorder1, other 7 should use Recorder2 to get in line.

4. If bug occures - some drones will stuck in space without moving.

5. Examine stucked drone - disable its Programmable Block, then set its Recorder (1 or 2) to "Repeat" and "AI - Enable", so you could see the Recoder is not working anymore.

You can try to wait a different amount of time. I only got this bug once right after loading the save, and other 2 times after 1 to 5 minutes of waiting.

Replies (7)

photo
1

Hello, engineer!

Thank you for writing to us and we sincerely apologize for the issue you have experienced.

We've noticed numerous scripts in use on both drones and the base on the provided world save, which might be causing the issue. Could you kindly confirm if the issue persists when scripts are not in use on the programmable blocks? If so, please provide us with a vanilla world save (without active MODs/Scripts) and a screen recording or video showing the issue.

If the issue occurs only when using scripts, it's possible there are errors in the script's code. You can attempt to resolve this independently or join our official Discord programming block scripting server : https://discord.gg/6NWs8YFb

There, you can discuss the issue with other players and likely find a solution as well.

Kind Regards,

Keen Software House: QA Department

photo
1

As you can see on the video - Recorder brokes after being enabled trough the Script. And even after programmable block is turned off (and everything else can also be turned off aswell) recorder keeps glitching - that's the obvious bug.

I can try to simplify the script as far as I can, but I am concerned that this happen only when interacting with recorder by the script.

photo
1

Loaded the same save today, prepared the recording and got the bug at 1st try.

https://www.youtube.com/watch?v=4QtHBTIz9xU

I deleted all not-relevant blocks and recorder remained stucked.

The last thing that worked - I switched ai-behavior for AI Basic On and Off. After this AI Recorder started working.

photo
1

Hello Engineer,

It’s been a while since you sent your message, and several updates have been released since then. We fixed various bugs around the features you mentioned. It looks like the problem you reported might already be resolved.

Please check if you can still reproduce the issue in version 208 and let us know.

If we don’t hear back from you within two weeks, we’ll go ahead and close the thread.

Thank you!


Kind Regards,

Ludmila Danilchenko

Head of Space Engineers QA Department.

photo
1

1.208.014 b1

Problem still occurs.

Here is a today test: https://www.youtube.com/watch?v=D68-yBF-AgE

On a video I captured 2 stucked AI Recorders and tried to figure out what block is causing the problem. As you can see - after removing some blocks AI Recorder started to operate normally, but I still can't firure out what block is messing with them. Removing Programmable block doesn't help.

photo
1

Hello Engineer,

Thank you so much for your patience and for all the help you’ve given us during this investigation - we truly appreciate the time and effort you put into documenting this issue!

After reviewing everything, it appears that the behavior is caused by the script rapidly toggling the AI blocks On and Off. At the moment, the AI block state transitions aren’t very resilient to fast or repeated switches, so when a script changes their state in quick succession, it can unfortunately lead to the inconsistent behavior you observed.

Could you please be so kind as to write the small code snippet that reproduces the issue if you manage to isolate it somehow?

It would help our programmers see precisely which interactions are causing trouble for the AI blocks and would greatly support us in improving them.

Kind regards,

Keen Software House:

QA Department

photo
1

I managed to summon this bug again and at this time I figured out that the block messing with 'AI Recorder' was the 'AI Flight Move' block.

Here is a video of me deleting blocks one by one until of all complex blocks only Recorder and Flight one remains.

Then I tried adding another Flight block and Recorder seems to unstuck. However, while operating through the buggy Flight block it always goes to 'idle', while with second Flight block it operates completely normal with going to the waypoint as intended.

https://www.youtube.com/watch?v=QBeEz_xBTK8

Leave a Comment
 
Attach a file