Page 1 of 1

Dialogue system appearing small in build

Posted: Tue Jun 04, 2019 5:47 pm
by FunD
Hello,

Quick question, the dialogue system (as well as my cursor) appear much smaller after I make a build. It doesn't appear that way when testplaying in Unity. Any ideas?

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 12:00 am
by Tony Li
If your cursor also appears smaller, then it may be related to screen resolution. As a test, select Edit > Project Settings > Player, and in Resolution and Presentation set Display Resolution Dialog to Enabled.

In your build, try a lower resolution. (For example, select 1024x728 instead of 1920x1080.) Does the cursor appear any larger?

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 6:54 am
by FunD
Hey, thanks so much for your quick reply. Really appreciate it.

My game prototype is going to a school exhibition tomorrow, tight deadline, and it's the last little bug I'm trying to fix :)

Yes, Display Resolution Dialog is Enabled. I just checked.
I just made a new build. Same result when trying on different resolutions too.

Which is strange, because that problem started happening in builds in the last week or so. All builds before that had dialogues and cursor appearing in same size as in Unity's testplay before. All UI is appearing in correct size
I did not update to another Unity version.

Any other ideas? Here's a screenshot of my playersettings:
https://ibb.co/hgPKjTw

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 9:31 am
by Tony Li
What version of Unity are you using?

Do non-Dialogue System UIs appear small, too? I suspect they will, because the system cursor also appears small. Are only UIs and the cursor small, or is everything else small, too?

Did anything else change just before this issue started?

Can you pull down an older version from your version control or backups and compare them?

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 10:49 am
by FunD
HI

I am using Version 2018.2.18f1

No the cursor appears small, but not all other UI.

The only things appearing small is cursor and dialogue system in the scene.

I can't recall changing anything that could affect this? But maybe it's something small. I did not change PlaySettings.

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 11:02 am
by Tony Li
I can't answer about the cursor. That's not related to the Dialogue System.

Has anything changed on the Dialogue Manager's Canvas? Perhaps you have a Canvas Scaler component? If it's a world space UI, maybe it moved further away from the camera.

Can you send a copy of your project to tony (at) pixelcrushers.com? I'll be happy to take a look directly.

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 11:32 am
by FunD
Ah, yes! I had to apply a Canvas Scaler to the dialogue system! Now it works.

The problem is UI canvas had a canvas scaler and the Dialogue System did not.

Thanks! :)

Re: Dialogue system appearing small in build

Posted: Wed Jun 05, 2019 1:04 pm
by Tony Li
You're welcome! :-)