rsodre / FulldomeCameraForUnity

Fulldome Camera for Unity 2019
http://fulldomevjs.com/
MIT License
149 stars 15 forks source link

Dome Tilt always bounces back to 0 #17

Open tansyxiao opened 1 year ago

tansyxiao commented 1 year ago

I'm using the 2022.2.20f1 version, it showed this error when I tried to attach the FulldomeCamera.cs code to an empty game object as the instruction suggested. Any idea what caused that? Is it a compatibility issue?

rsodre commented 1 year ago

Which error?

tansyxiao commented 1 year ago

"Can't add script component 'FulldomeCamera' because the script class cannot be found."

rsodre commented 1 year ago

Is there any compile errors on the console? If there are errors, are them from the plugin or other scritps? Sometimes one script error can impact other scripts. But I have not tested the plugin on 2022.2, maybe something changed on Unity and it needs to be adapted

tansyxiao commented 1 year ago

I see what went wrong. I dragged the whole package into the project and that caused some conflicts. Should only import the FulldomeCamera folder. Now I can attach the script. Another issue is that after I adjust the dome tilt, it always bounces back to 0. Any idea why?

rsodre commented 1 year ago

hmm, no reason comes to mind I would have to try and see, but I don't really have an Unity test environment here at the moment

tansyxiao commented 1 year ago

The strange thing is that I could move the slider on the Dome Tilt and have it saved, but not typing in the number there (if I typed, it would bounce back to 0).