2.0.0a6 Code preview highlight is offset when using UI scales other than 100%

Hyper 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 1
1. Create a project and set UI scaling to something other than 100%
2. Select a node
3. Notice the highlight is offset on the C# preview window.

I thought this could be because of Unity 2019.3 new UI scaling, because i'm working on a 4k display. I checked the settings and my UI is scaled to 150%.
So I went ahead and set it to 100% and restarted, and the highlight works properly as expected.
Tested with 200% and seems to be fine on that setting.
Tested with 175% and it is also offset, but less so than 150%.
Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2

Hi Hyper,

Thanks for the report. I can confirm the issue and I tried finding the cause for the last hour, but I can't pin point which calculation is wrong. As this is relatively cosmetic I'll prioritize other things for now, sorry.