ViveSoftware / ViveFoveatedRendering

A rendering Unity plugin which reduces the rendering work load through cutting edge GPU technologies.
Other
47 stars 12 forks source link

Get errors making the build #4

Closed dpggit closed 4 years ago

dpggit commented 4 years ago

It gives errors when making the build using Unity 2018.2.11

Gives several errors like this : Assets\ViveFoveatedRendering\Scripts\ViveFoveatedVisualizer.cs(94,17): error CS0234: The type or namespace name 'PlayerSettings' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

kyo8568131 commented 4 years ago

Hi dpggit, Thanks for your response, we will fix it and update in the next patch. Before that, you could replace the rendering mode judgment with "XRSettings.stereoRenderingMode" in both ViveFoveatedRendering.cs and ViveFoveatedVisualizer.cs.

XpertVR commented 4 years ago

Hi, having the exact same problem! Where exactly would we be replacing the rendering mode judgment? Can't find it for the life of me.