First Person Objects Attached To Camera In Third Person View Type

I have a character setup using UCC UIS version 3, and when I start play mode a First Person Objects GameObject is attached to the Camera. I mean, it looks great, but that's not what I want. I've fished around, but can't find what I've done wrong in my setup. Anyone have any ideas where I should start looking?
 
By default whenever you have the First Person Objects GameObject on your character when the game starts it will move to the camera. You can disable this by removing that GameObject.
 
Thanks Justin. I looked over the UIS Integration Demo, and all pertinent questions here on the form. My first person arms work almost perfectly now, with one exception.

The layers of the first person arms and first person perspective items are all set to "Overlay", just like in the integration demo. Everything is fine when I go into play mode, but when I enter first person perspective the first person arms and weapons aren't visible. If I stay in play mode and set the arms layer to Default, I can see the objects, but in the Demo there is no layer switch between the two perspectives.

I couldn't find a solution in the forums, and the only thing I can think of that might be causing this is the State System? I've watched all of the documentation videos on the system, and have a superficial understanding of how it works, but right now I've just aped what I see in the Demo scene.

Could this be where my problem lies?
 
Hmm, I just saw that my Main Camera Culling Mask didn't include the Overlay layer. If I start play mode, then change the Culling Mask to include the Overlay layer, I see the fp arms in both fp and tp perspectives, but if I include the Overlay layer in the Culling Mask before I enter play mode, something is overriding my settings (which is probably supposed to happen). Also, I'm using the Cinemachine integration.
I'm lost on this one.
 
This is definitely related to the camera layer. On the First Person View Type there is a m_FirstPersonCullingMask field and it sounds like the state system is changing that value. Check to see what state is being activated and the preset that goes along with that state, and from there you can determine why that particular state is being activated.
 
Back
Top