Page 1 of 1

[2.0.45] Crash when moving railgun across platform: MetalUnlocker.hpp - getCommandBuffer

Posted: Fri Apr 18, 2025 6:48 am
by tinker9
What did you do?

I was building a railgun platform, copied a railgun facing right, then moved it partly over one facing left.

What happened?

"Unexpected error occurred" dialog box.

What did you expect to happen instead? It might be obvious to you, but do it anyway!

No error.

Does it happen always, once, or sometimes?

I've only noticed it happening this one time, but I've also only tried building railgun platforms recently.

Save game link:
https://www.sendspace.com/file/6za2eh

Re: [2.0.45] Unexpected error when moving railgun across platform

Posted: Fri Apr 18, 2025 6:56 am
by tinker9
If it helps: The railgun kill zone is near the top of the cargo pod parabola, where the pods transition from being invisible to visible (or the other way around). I was getting deliveries and possibly dropping excess at the time.

Re: [2.0.45] Crash when moving railgun across platform: MetalUnlocker.hpp - getCommandBuffer

Posted: Sun Apr 20, 2025 6:26 pm
by StrangePan
Hey thanks for the report, this is actually a race condition in the Metal backend that should be fixed in 2.0.46. It’s not related to any specific in-game action, so feel free to move your railguns around all day.

Re: [2.0.45] Crash when moving railgun across platform: MetalUnlocker.hpp - getCommandBuffer

Posted: Mon Apr 21, 2025 8:45 am
by tinker9
Thanks, and good to know!

I suspected it wasn't related to the action, I've done a lot of railgun moving (and other changes on planet) since activating the Metal backend.