Jumping issue in fresh project and scene

Cheo

Active member
Hello, this is quite a surprising issue, when creating a new project in Unity 2022.3.52f1, using UCC 3.1.3 and creating a new standard character in a an empty scene, he has difficulties jumping, especially when staying in place, he sometimes barely gets off the ground and then starts falling (maybe he's not even actually jumping along the y axis and simply starting to play the jump animation ?). Here's a recording :


I'm really confused by this one, can someone please confirm whether they see the same thing in a fresh project ? Thanks.
 
Can you attach just the scene? I'm not able to reproduce it with a fresh project.
 
Are you able to give more steps in order to reproduce it? Even with Cheo's scene I haven't been able to reproduce it.
 
@Justin Hey, so I created a new project in Unity 6.0.32 and imported my test scene and got the same issue. It's very strange that you don't see it, I'm not sure how helpful this will be, but here is a nearly 10m recording of me creating a new project in Unity 2022.3.52f1, importing UCC, creating a simple scene with an adventure character and getting the issue. The crazy part is that as you can see towards the end, the issue doesn't happen when the animator is open 😅


I honestly don't know if this could be related to the issue, but could you please tell us which version you used for your own fresh project ? In any case I'll try experimenting again later on and see if I can get something with the animator open.
 
I used Unity 6.0.28 and it was ok with the animator closed.. Hmm, I'll do some more experimentation before the next update.
 
I have been trying to repro this one but haven't had any luck. In both of your videos I noticed that it gets stuck on the second jump. It looks like you are triggering the jump again after the fall ability has completed. Is that correct? What events do you get if you log events on the Animator Monitor?
 
@Justin Alright so I have 2 things to report - first I created 2 new test projects in Unity 6.0.28 and 6.0.32 and redownloaded UCC in both before trying to replicate the issue, which I wasn't able to in both projects. I then created yet another project in 2022.3.52 and redownloaded UCC in it like in the video from my previous post, and was able to reproduce the issue many times.

Using Log Events is a good suggestion, as you can see in this video OnAnimatorJump is called when starting the jump, but OnAnimatorJumpComplete is not logged when the issue occurs. You can also notice that the issue tends to occur on start here but occurs the second time towards the end, so the issue is not 100% reproducible reliably on my side.


Please take the time to create a new project in 2022.3.52, redownload UCC from the package manager in it and then try again to make a character jump in a fresh scene. I'm increasingly convinced that we got an issue linked to Unity versions here.
 
Thank you for tracking this down!

I was able to reproduce it and you're right in that the event is just completely being missed. This looks like a bug in the Animator in this version of Unity. Since it is working in later versions I am not going to worry too much about it, especially since as a workaround for this Unity version you can just not use the animation event.
 
Back
Top