question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change Resolution

See original GitHub issue

Hi,

I am not able to change the window size as mentioned in the documentation

<Unity unityContext={unityContext} height="100%" width="950px" />

I tried changing the values to percentage pixels my layout is still kinda landscape

like this <Unity unityContent={unityContent} height="730px" width="480px" /> Capture

here are Unity3D settings Capture

here is when I run the build as standalone on browser Capture

as you can see it is running in the desired resolution

Am I missing something?

regards, Nipun Davod

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nipundavidcommented, Nov 23, 2020

hi @jeffreylanters , so I am not able to follow you completely. I also tried the height and width in %age but they didn’t change the resolution the view. Can you please share the exact steps or documentation which I can refer to?

Capture Capture1

regards, Nipun David

0reactions
github-actions[bot]commented, Jul 19, 2021

This issue was closed because it has been inactive for 30 days since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change your screen resolution in Windows - Microsoft Support
Change your screen resolution in Windows · Select Start > Settings > System > Display, and look at the section that shows your...
Read more >
How To Change My Display Resolution using Windows ... - Intel
Open Windows Display Settings. Right-click on the Desktop and select Display Settings. · Select the display you want to change. · Under Display...
Read more >
Adjust the Screen Resolution, Color Depth, Refresh Rate and ...
Set or Change the Screen Resolution · Close all open programs. · Click Start, and then click Control Panel. · In the Control...
Read more >
How to Change Your Monitor's Resolution When it Is Too High ...
Choose Display and locate the drop down menu labeled Resolution under the Scale and Layout settings header. It will show the recommended monitor...
Read more >
Windows 10 - How To Change Screen Resolution and Size
How to change screen resolution and size on Windows.This tutorial will apply for computers, laptops, desktops,and tablets running the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found