FAQ

Frequently Asked Questions

Getting the screen bounds and to check if an object is within
Sometimes it may be necessary to check if an object is within the bounds of the screen. You can achieve this relatively easy with GameDriver. Find the s...
Mon, 25 Mar, 2024 at 8:54 AM
"Unable to resolve function", "Unsupported message", or "Cannot marshal type" errors in IL2CPP builds
Several issues can occur with IL2CPP builds, resulting in inputs not being recognized or even exceptions being thrown like those below. In the Player.l...
Sat, 24 Feb, 2024 at 5:46 PM
Unity Editor requires focus in order to run a test
You may find your Unity test does not run correctly unless the editor is in focus, or the test fails to progress unless the editor window is not focused on....
Mon, 6 Mar, 2023 at 3:05 PM
Initializing the GDIO Agent with "Force Old Input System" enabled
If you need to add the GDIOAgent programmatically at runtime, and also need to use the "Force Old Input System" setting, typically due to keyboard...
Mon, 24 Apr, 2023 at 5:56 PM
Unity Log Message/Exception Handling with GameDriver
GameDriver provides a means of catching Unity's logged messages, which can be particularly useful for test cases in which exceptions and other relevant ...
Fri, 9 Aug, 2024 at 7:02 PM
Editing/Disabling the GameDriver In-game Overlay
When the GDIO Agent is present in a scene, GameDriver provides an in-game overlay which displays helpful information such as system time, current mouse posi...
Wed, 19 Oct, 2022 at 5:05 PM
Access data from within lists using HPath
To access OptionData from a dropdown list, the straightforward approach may be to return the list to the API client and then use Custom serialization to acc...
Wed, 21 Dec, 2022 at 11:16 AM
Controlling the GDIO Agent programmatically
Enabling/Disabling the GDIOAgent Sometimes it is necessary to add or instantiate the GDIO Agent component to the project programmatically, rather than t...
Tue, 11 Apr, 2023 at 12:45 PM
Accessing custom shader properties in Unity
Custom shader properties may need to be accessed sometime to perform certain checks. In this case, api.CallMethod() can be used to call the respective Get /...
Sat, 30 Jul, 2022 at 3:08 PM
"Unable to find method" errors in IL2CPP builds
When working with IL2CPP builds, you may encounter an error when calling a UnityEngine method, such as the UnityEngine.Transform method "LookAt": ...
Thu, 14 Jul, 2022 at 9:02 AM