Forum rules - please read before posting.

Rotation error when reloading a scene with UCC and AC

Hello, there seems to be a small issue when reloading a scene that uses both UCC and AC. Depending on whether root motion is used for the character, an error is logged when the scene has been loaded : "m_AnimatorDeltaPosition += m_Animator.deltaPosition;" or "var rotation = m_Transform.rotation * m_Torque;". When resuming the game however this error does not come back and the game can be played normally. Still, errors need to be fixed ! Could you simply reload one of the AC_UCC demo scenes, either by using SceneManager.LoadScene() or AC's switch, and confirm you have the same error ? Thanks in advance !

Comments

  • Both AC and UCC initialise themselves in Awake functions. This looks like a case of AC running first, before UCC has had a chance to.

    Try changing the Script Execution Order of AC's AC.MultiSceneChecker script to be larger than any of UCC's. This will cause AC to "boot up" after UCC.

  • Yes, that fixed it, you're the best ! Could you just add it or mention it in the documentation if you update the integration ? Thanks again !

  • Yes, good point - I'll mention it in the Readme.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.