UCC with PUN addon having issue when Respawnng

Pants

New member
Hi Guys,

everything works fine but when you shoot the AI in the demo Scene or if you make your own Scene and shoot an other Person (multi player) when they spawn the model in. my PunAtlas spawns in the air then drop to his half way down the model, now looking at it, i can see one of the colliders within Atlas has been modified to be half the height it was at game start and the initial spawn. see the pictures to compare. Is this something to do with the spawner or an attribute within one of the scripts on Atlas. i have gone over it and used trial and error on these and cant find a fix, i have gone over the scripts too and these seem normal from my understanding. the collider that has been changed in size is the one called CapsuleCollider within the Collider parent. the prefab has the size of 2 in height, but after respawn it is 0.8xxxxx, what would cause this? i have had a look at the states but i get a bit lost following them. Any Ideas?

The odd thing is it only happens after a death and respawn has happened, starting the game works fine spawn in the right place and all good.

I am running Unity 6.

Thanks
 

Attachments

  • Atlas Spawn issue.png
    Atlas Spawn issue.png
    276.4 KB · Views: 7
  • prefab for atlas and show the capsule collider at the size of 2.png
    prefab for atlas and show the capsule collider at the size of 2.png
    563.6 KB · Views: 7
Last edited:
Hi, I can confirm it is an issue offline as well. i watched your video and can reproduce most of the issues you listed. I am running the latest version of the UCC 3.2.3 however there is an update for this released yesterday.

after updating and importing the update. in the demo i am still seeing the issues, I know the UCC is for rapid testing and we would make our own for our own projects we are working on. so not a real issue for the end game. but for rapid development it is kind of a fail lol, i have written my own test controller now and it is working with PUN, it might not have all of the cool weapons and framework but it does work.

Also as a complete new test i have build two new projects, one based in 2023 Unity 5 and Unity 6 done fresh imports without Pun and it is the same. and to rule out my environment i have also done the same on a laptop i use not just the desktop and still the same.

Thanks
 
This is looking like it's something related to Unity 6 - I've replied to Cheos thread with more details.
 
ok did a fresh install of the latest version of 6.1 I can shoot and not end up halfway through the floor now. I did manage to get the bike pose after death on a few attempts, to replicate this i believe it is an issue with the weapons being dropped. If you kill the other Player and it is on the spawn spot and is just right they will kind of stand on the Guns in the bike pose but this time not fall halfway through the floor. if you move that character it corrects itself and you have to get lucky to get that pose to happen took like 20 kills on the spawn spot in the demo scene. but it does fix itself. so all good. you might want to put a notice on the 323 that due to some odd things in unity 6 the spawning does break but fixed in 6.1.
 
Back
Top