beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
210 stars 99 forks source link

Tracking unit in FPS camera may bug camera #131

Open 6AKU66 opened 2 years ago

6AKU66 commented 2 years ago

I don't know how exactly reproduce this, but attached replay may help in logs i see this:

https://youtu.be/AtW8uETNnDA

20211116_005655_Tumult_105.1.1-582-gddec320 BAR105.zip

lhog commented 2 years ago

FPS camera is not used that frequently, so this one will probably have to wait while someone is on the camera's code to deal for example with this one https://github.com/beyond-all-reason/spring/issues/16

Nonetheless, I wonder if you were able to recover the camera operations afterwards by moving it around?

6AKU66 commented 2 years ago

No, i wasn't able recover the camera.

WatchTheFort commented 2 years ago

The long-term plan is to get rid of all camera modes and have one universal camera.

6AKU66 commented 2 years ago

Looks like it's tends to bug only on specific maps only. But not sure.

sprunk commented 2 years ago

FPS camera is used under the hood in ZK for the COFC camera (which isn't that commonly used either, but there are people who use it exclusively).

Apparently this bug can be triggered by something other than tracking (likely it was never about tracking, just that tracking is required to get the FPS camera?). It happened in Future Wars (a ZK mod): http://zero-k.info/Battles/Detail/1459125 at about 26:50 [f=0048304] [Sound] Error: CSoundSource::Play: AL_INVALID_VALUE (40963)

Some info we've found:

Arch-Shaman commented 2 years ago

Adding to this: we also found that the bug happens for Total War, Free Cam as well as rotatable overhead. @sprunk probably knows what those cameras are under the hood.