Dialogue system appearing small in build

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
FunD
Posts: 27
Joined: Tue Feb 12, 2019 6:14 am

Dialogue system appearing small in build

Post 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?
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue system appearing small in build

Post 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?
FunD
Posts: 27
Joined: Tue Feb 12, 2019 6:14 am

Re: Dialogue system appearing small in build

Post 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
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue system appearing small in build

Post 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?
FunD
Posts: 27
Joined: Tue Feb 12, 2019 6:14 am

Re: Dialogue system appearing small in build

Post 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.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue system appearing small in build

Post 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.
FunD
Posts: 27
Joined: Tue Feb 12, 2019 6:14 am

Re: Dialogue system appearing small in build

Post 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! :)
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue system appearing small in build

Post by Tony Li »

You're welcome! :-)
Post Reply