BUG PhotonAnimationView is buggie when deleting Parameters (unless script is removed and added)
Options
kk99
✭✭
Hello
I just found this bug that was quite puzzling me
Steps to reprodude
1. On your character with Animator add a PhotonAnimationView
2. Set some of the Parameters to Discrete
3. create prefab
4. now go to the animation controller and delete some parameters (I know this is quite rare use case because you dont often delete parameters, I guess)
5. now Test your game (2 players minimum)
actual behavior
you will get error that says your deleted parameters failed to synchronize.
then you look into the PhotonAnimationView but the deleted parameters are not there
so you wonder where this come from.
expected behavior
no errors should be thrown and animation should be synchronized
How to resolve this?
Remove the PhotonAnimationView from the GameObject and add it again.
set again your parameters to Discrete (little annoying especially when you have many parameters in the Animator Controller)
Cheers
I just found this bug that was quite puzzling me
Steps to reprodude
1. On your character with Animator add a PhotonAnimationView
2. Set some of the Parameters to Discrete
3. create prefab
4. now go to the animation controller and delete some parameters (I know this is quite rare use case because you dont often delete parameters, I guess)
5. now Test your game (2 players minimum)
actual behavior
you will get error that says your deleted parameters failed to synchronize.
then you look into the PhotonAnimationView but the deleted parameters are not there
so you wonder where this come from.
expected behavior
no errors should be thrown and animation should be synchronized
How to resolve this?
Remove the PhotonAnimationView from the GameObject and add it again.
set again your parameters to Discrete (little annoying especially when you have many parameters in the Animator Controller)
Cheers
0
Comments
-
looks like there are even more bugs when you change the order or if you rename animator parameters.
what still works is simply remove the PhotonAnimatorView and add it again and set your synchronize parameter again0