Unity-Technologies / com.unity.cinemachine

Smart camera tools for passionate creators
485 stars 112 forks source link

Is the bugfix #74 exactly correct? #78

Closed rigven closed 3 years ago

rigven commented 3 years ago

I have 3 States and StateDrivenCamera does not switch cameras since GetClipHash(info.fullPathHash, m_clipInfoList); returns the wrong hash. If I roll back the changes in the ChooseCurrentCamera() function from bugfix #74 , everything works fine thanks to hash = info.fullPathHash;

glabute commented 3 years ago

I made a state machine with 3 states, and I get the correct results. Can you give more detailed repro steps, or PM me with a repro project?

rigven commented 3 years ago

https://github.com/rigven/Tilevania-Unity2D-course- Here is the project with the described problem

glabute commented 3 years ago

Thank you for the project. With it, I was able to locate the bug and push a fix. Best regards