i setup six spotlights around a sphere to light some objects in the sphere, i turn off cast shadow, when i preview VR in the editor, all lights work fine, but after i build the project, and launch from the standalone exe, strange thing happened, all spotlights disappear ! After some research, i finally catch the issue, the key point is cast shadow option, if i turn on the option, all spotlight work good, if i turn off the option, all spotlight gone ! This only happen in the standalone mode not in the editor !
Announcement
Collapse
No announcement yet.
Lights disappears when use with htc vive
Collapse
X
-
Uh... you should verify that the spotlights are actually not in the scene when its running the standalone game. My suspicion is that the spotlights are there, but the lighting is probably being baked on your build and there are probably too many lights in that region, so they just get turned off during the lighting build process.
Oh, and you should try to run the game without the Vive, just to make sure that it's not a vive specific issue.
-
Originally posted by TG42 View Posti setup six spotlights around a sphere to light some objects in the sphere, i turn off cast shadow, when i preview VR in the editor, all lights work fine, but after i build the project, and launch from the standalone exe, strange thing happened, all spotlights disappear ! After some research, i finally catch the issue, the key point is cast shadow option, if i turn on the option, all spotlight work good, if i turn off the option, all spotlight gone ! This only happen in the standalone mode not in the editor !
What Mobility settings are you using for your lights? I tried to get this to happen using both Stationary and Static lighting with both baked and dynamic shadows enabled but my lights never disabled when looking at them with the Vive. Would it be possible for you to upload a small project that has this issuse so I can look into it a little deeper as I have no idea what would be causing this to happen.
Cheers-
Sam Deiter
Comment
-
Originally posted by nate1380 View PostAny update on this? We're seeing the same issues. The only light that works in our level is our moveable flashlight. If we launch the same level without Steam VR all lights are fine.
Comment
-
Hi Sam,
I've found the source of the issue. If you disable all shadows on a light it will not render at all on the vive. So, if I uncheck both cast dynamic and static shadows the light will completely disappear in a standalone build. Once I checked my lights to cast dynamic shadows they rendered again.
Comment
-
Originally posted by Sam Deiter View PostWould it be possible for you to create and upload a repo of this happening using the latest version of UE4 you can get from the launcher? I have tried multiple times time to repo this bug and still have not been able to get it to happen.
Comment
-
Originally posted by nate1380 View PostIs this going to be addressed?????. Feel free to send me a PM if you'd like.
Twitter - @TheKRushin
Feel free to ask questions and come learn to be an #UnrealDev
How to report a Bug
Comment
Comment