You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be in the FlightCamera.EnableCamera() and FlightCamera.DisableCamera() methods.
They are re-parenting the AudioListenerGameObject using the Transform.SetParent(Transform parent) overload that set the worldPositionStays parameter to true, which will induce a local position/rotation offset when reparenting.
Patching those methods to use the Transform.SetParent(Transform parent, bool worldPositionStays) overload with that last parameter set to false should prevent any offset to ever be introduced.
…ned with the current vessel after scene switches, causing loss of vessel effects audio and random volume or left/right channel weirdness.
Thanks to @ensou04 for uncovering the cause of this bug.
…ned with the current vessel after scene switches, causing loss of vessel effects audio and random volume or left/right channel weirdness.
Thanks to @ensou04 for uncovering the cause of this bug.
This causes random audio loss and L/R channel weirdness.
Issue uncovered by @ensou04
See forum post
The issue seems to be in the
FlightCamera.EnableCamera()
andFlightCamera.DisableCamera()
methods.They are re-parenting the
AudioListenerGameObject
using theTransform.SetParent(Transform parent)
overload that set theworldPositionStays
parameter to true, which will induce a local position/rotation offset when reparenting.Patching those methods to use the
Transform.SetParent(Transform parent, bool worldPositionStays)
overload with that last parameter set to false should prevent any offset to ever be introduced.Test build with a fix :
KSPCommunityFixes_1.15.0_PRERELEASE.zip
The text was updated successfully, but these errors were encountered: