I have a weird game behavior:
- in built game player is perfectly parented to a moving platform and keeps the position relative to the platform pretty smooth.
- in play mode the behavior is completely different. Moving platform is completely out of sync with player and the result is player is automatically unparented immediately (because of some specific conditions like ground check etc.). I'm using character controller component only to move the player and detecting ground etc. on my own.
- I can fix the issue in play mode by Physics.SyncTransforms().
Does anybody have an idea why this issue doesn't happen in built game? I understand frame rate is much better in built game but still I would expect at least some minor issues.
↧