Forum Discussion
Chimer0s
4 years agoExplorer
My Unity game is lower resolution in the Quest 2 when built than when run from the editor.
I don't know if this behavior is expected or if I'm doing something wrong or missing an option somewhere. My issue is that my game appears to be lower resolution when running from the Quest 2 as a built application than when I run the same game in the same headset from the Unity editor. Text, for example, becomes super blurry by comparison when I run the game from the build on the headset as opposed to looking crisp when run from the editor. It's significantly blurrier than the text in the Oculus Dashboard even when the game text might actually be larger on screen. Does anyone know of any settings I should be looking into or options I might have overlooked? Any help would be greatly appreciated, thanks!
Edit: I've discovered that games don't run at full resolution by default on the Quest, and the effect can be offset by manually increasing the render resolution. In Unity this can be done by manually setting the XR resolution with
XRSettings.eyeTextureResolutionScale = whatever multiplier you like, I've gone with 1.3 for my game as that gives a nice clarity bump without too hard an impact on performance.
15 Replies
- RedShedExplorer
This HAS to get more attention...
In my world space canvas, the images, Text and everything else started to display weird edges as I moved away from the objects. Same with other 3D objects. I tried adjusting mipmaps, dynamic resolution, and other fancy options, but nothing seemed to help.void Start() { XRSettings.eyeTextureResolutionScale = 1.3f; }
is line of code solved the issue. Thank you so, so much again, Chimer0s!!!
- KimhengExplorer
just attach this script to the game right? I tried that but my game graphic is still bad and blur. Is it because of cable link or what since my cable link is only 2Gbps. Please let me know if you are around, thanks.
- RedShedExplorer
Yep, just create a script and attach it to an active gameObject. This does not affect the resolution scale inside the editor (via quest link), it only affects the build.
- magnimus_studiosPartner
Is this problem persist with build or only with editor. if its only with editor please verify the graphics preferences in Meta quest link app. you can check the quality setting and increase the scale manually
- KimhengExplorer
It is both to build and editor; however, from editor, I noticed it has lower quality than build. My computer is Alienware 15 R4 running on GeForce GTX 1060 6 GB, Intel Core i7 8th Gen. So does the computer performance affect the editor and build of the game? Btw, when I run using Device Simulator, the graphic is best compared to using a virtual link and build. you can see the capture of scene while running on virtual link below.
- RedShedExplorer
What you see in the editor is from Quest Link. You'll have to icrease the resolution scale for the vr headset inside the oculus app you use for Quest Link.
My app looked exactly the same as yours inside the editor before I did that. But remember, the more scale you give the headset, the more powerful your PC has to be.
- KimhengExplorer
My computer is Alienware 15 R4 running on GeForce GTX 1060 6 GB, Intel Core i7 8th Gen, I dont know which graphic is best fit to it on Quest link
- magnimus_studiosPartner
Actually these jagged lines because of antialiasing. Can you show your quality setting. Keep antialiasing 4X, perpixel ratio =1, vsync count dont sync. One more thing i have ask, these screenshot is from the oculus device or editor. if its editor check in game view its not scale
- KimhengExplorer
Thank you RedShed and magnimus_studios for your comments, it helped me a lot. However, even i followed your instructions the set up is still not good to me. Let me share you some of my setting below. Please help me with this, it is really importance to me since i have no much time left for the setup in my research. Thank you guys a lot.Screenshot scene on EditorScreenshot scene on BuiltScreenshot scene on Built
- magnimus_studiosPartner
Can you set the quality to high in quality setting. If this is persist in build Apk then this is not an issue of your PC Graphic card. Can you show the rendering pipe line settings of all rendering assets or centereye camera setting.
- KimhengExplorer
In Quality level, I put Ultra. May i ask if this kind of low graphic because of URP asset because I use normal URP. I saw there is High Quality URP but i dont know where to get it. You can see my URP asset and setting below.
- magnimus_studiosPartner
yes you need to set high Urp quality setting for better quality but then you have to compromise the performance. So you have to find the optimum setting for get good render quality and performance
- KimhengExplorer
I see, let me try changing it. and this could lead to better both app built apk and quest link right? have you ever faces this kind of issue before?
- magnimus_studiosPartner
Yes this will improve for both. I never face this issue but for optimization of our project i deliberately changing these settings. you directly drag your high quality setting asset to rendering pipeline assets
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 7 months ago