Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene 011 Headset collision fading not working #62

Closed
Tetralogy opened this issue May 15, 2016 · 6 comments
Closed

Scene 011 Headset collision fading not working #62

Tetralogy opened this issue May 15, 2016 · 6 comments

Comments

@Tetralogy
Copy link

Tetralogy commented May 15, 2016

Nothing happens when I put my head through the example walls.
Unity 5.4.0b17

@thestonefox
Copy link
Member

I think some steam vr stuff has been deprecated in unity 5.4 so they've removed stuff that's breaking certain things. I have another 5.4 issue elsewhere that's probably the same problem as this. If I fix that it may solve this too.

@Tetralogy
Copy link
Author

The fading does work on 5.3.4f1. It would be best to get all these issues fixed in 5.4 since that's what everyone will be using next month.

@thestonefox
Copy link
Member

Yeah as I said there is some deprecated stuff in 5.4 that's breaking things. Once that's resolved it should solve this too.

@thestonefox
Copy link
Member

Ok so I have 5.4 installed now.

I can see what's happening. Originally the CameraRig prefab was arranged like:

  • [CameraRig]
    • Camera (Head)
      • Camera (eye)
      • Camera (ears)

And the Fade script went on the "Camera (Head)" element.

However, in Unity 5.4 at runtime that CameraRig now changes to look like:

  • [CameraRig]
    • Camera (eye)
      • Camera (ears)
      • [DISABLED] Camera (Head)

Not sure why it now changes the structure of the CameraRig and indeed disables the Camera head.

If you put the Fade script on the "Camera (eye)" child object then fading works in unity 5.4

@Tetralogy
Copy link
Author

Sweet! Just tested it works now! Thanks!

@xEnniX
Copy link

xEnniX commented Oct 25, 2018

The scene still doesn't work for me. I even manually put the collision fade script on Camera (eye) and Camera(Head) but nothing seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants