When I develop an application for windows using unity the Gaze is always offset to the top left corner.
I tried setting my DPI to 125% / 100% instead of 100%, but nothing changes.
Same for discovering the focused object via “GetFocusedObject()”, it doesn’t yield any reasonable results.
I don’t use any UI elements.
I have recalibrated the device and it works otherwise.
It suddenly works after building the application, but I can’t build every time I make a change.
The same is true for the example project with the spinning cube. It only works after building, never inside unity.
I’m using a windows 10 laptop with the newest unity and eyex software.
Since it works in standalone but not in the Unity Editor it does very much sound like a DPI issue. Windows 10 automatically sets a high DPI on high resolution screens so it is a bit tricky to change the correct DPI setting to override this behavior.
First, try changing the compatibility setting for the Unity Editor:
– Locate the Unity.exe file in a file explorer (probably located in something like C:\Program Files\Unity\Editor\)
– Right click the exe and open Properties
– Go to the Compatibility tab
– In the Settings section, check the “Disable display scaling on high DPI settings”
Great news! Thanks for letting me know it worked out for you.
(And I should probably update our troubleshooting guide to include the compatibility setting as a preferred workaround as well :))
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Are you planning to make your eye Tracker enabled application/game available to many people? We hope so, and for this reason, we have done our best to make it easy for you to distribute your applications and games built using the Tobii SDKs.
When you download a Tobii SDK you agree to an SDK License Agreement that (with a few exceptions) allows you distribute the Tobii client library files necessary to add eye tracking to your application. One limitation is that you may only use the Tobii Core SDK to develop interactive applications. If you want to develop software for analytical purposes, post processing or aggregation of eye tracking data across multiple users, please Contact Tobii Pro. Also, you may not use the SDK to develop software that is used in so-called high-risk use applications.
We at Tobii also want to do our best to help you reach as many people as possible with your application, and help you to commercialize it if that is your goal. Contact us if you want to know more about what the opportunities will be for you during the current year, and how we expect the market for eye tracking in consumer electronics to evolve.