Skip to content

Commit 0b6fc7c

Browse files
DuFF14rpavlik
authored andcommitted
Fixed DllNotFoundException by reading /display in Start() rather than Awake() in DisplayInterface.cs
1 parent 20958d8 commit 0b6fc7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OSVR-Unity/Assets/OSVRUnity/src/DisplayInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public bool Initialized
4747
}
4848
private bool _initialized = false; //flag set when _deviceDescriptorJson has data from /display
4949

50-
void Awake()
50+
void Start()
5151
{
5252
_deviceDescriptorJson = ClientKit.instance.context.getStringParameter("/display");
5353
_initialized = true;

0 commit comments

Comments
 (0)