Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

[Unity 5.3] : [VRDevice] Initialization of device oculus failed

Discussion in 'AR/VR (XR) Discussion' started by rcyr_cimmi, Dec 8, 2015.

  1. Rawd

    Rawd

    Joined:
    Jun 21, 2016
    Posts:
    2
    Thanks for the reply. It was definitely project specific, as the Sample Unity 5 Framework examples from Oculus worked just fine. So... you're second suggestion I think is the only one that it could be. I tried removing my plugins in my Project folder, and re-imported them from another package that I knew worked, and still had no luck. Maybe I missed a plugin somewhere. I was hoping to find the exact issue that was causing this, so that I could possibly help others in the future, but I'm stumped.
     
  2. cryptoshaman

    cryptoshaman

    Joined:
    Oct 10, 2012
    Posts:
    15
    I am posting here again cus this problem is not going away what I keep hearing its to update to the latest versions. Like everyone else I started from scratch reinstalled everything of the Latest versions made a new project and the error remains.
     
    Last edited: Jun 23, 2016
  3. cryptoshaman

    cryptoshaman

    Joined:
    Oct 10, 2012
    Posts:
    15
  4. tsabobo

    tsabobo

    Joined:
    Sep 26, 2014
    Posts:
    2
    hi Ed, I am using Unity 5.3.5f1 and Oculus DK2,( Oculus runtime 0.8 and Unity 5.3.3 worked fine sofar both in editor and stand alone) Today I upgraded oculus runtime to latest 1.4.0 and DK2 has a great improvement regarding head tracking and frame rate, in Unity Editor. But when I deploy on PC platform, DK2 seems not to start when I excecute the stand alone app. I can only see the virtual living room/ oculus store scene with the warning that "you may have poor VR experience" etc. "Allow Unknown Sources" in Oculus settings was activated.

    I also tried to put OVRplugin.DLL with 1.4.0 from Oculus under Data/Plugin folder but it didn't help.

    How do I work properly with DK2?
     
  5. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    287
    What happens when you run the standalone application? No message comes up in the HMD? Does Unity crash or does it just freeze? Do you have runInBackground enabled in the player settings or not?
     
  6. uiniti

    uiniti

    Joined:
    Feb 4, 2015
    Posts:
    74
    My build crash now with 5.3.5p4-5 when I enable the VR ingame

    With p4 there was an access violation by
    with p5 instead is in:

    The previous build was made with 5.3.5f1 at the beginning of june.
     
  7. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    287
    Not sure what the nvwgf2umx.dll Access violation is. Oculus Home just did an update on Thursday and our next patch will catch up to that. If you updated Home it may be causing the OVRPlugin access violation. Could you post the error.log for the crash? I mainly want to view the stack trace.
     
  8. uiniti

    uiniti

    Joined:
    Feb 4, 2015
    Posts:
    74
    here it is:

    Code (CSharp):
    1. #O..
    2. 0x0758e830: bc517bb9 bdcb1892 3be5980c bb416b0c .{Q........;.kA.
    3. 0x0758e840: 3f7ebb0d 3cff4983 bc901df7 bc5f7d9b ..~?.I.<.....}_.
    4. 0x0758e850: fe7054ec 00003404 ffffffff ffffffff .Tp..4..........
    5. 0x0758e860: 00000000 00000000 00000000 00000000 ................
    6. 0x0758e870: 00000000 00000000 00000000 00000000 ................
    7. 0x0758e880: 00000000 00000000 00000000 00000000 ................
    8. 0x0758e890: 00000002 00000000 0000b059 00000000 ........Y.......
    9. 0x0758e8a0: 0000b059 00000000 d1abe569 00007ff9 Y.......i.......
    10. 0x0758e8b0: d9003954 00007ff9 06dcca30 00000000 T9......0.......
    11. 0x0758e8c0: 07abfee8 00000000 00000002 00000000 ................
    12. 0x0758e8d0: 0000b059 00000000 b3daf919 00007ff7 Y...............
    13. 0x0758e8e0: 000007d0 00000000 00000001 00000000 ................
    14. 0x0758e8f0: 40000024 00000000 00000000 00000000 $..@............
    15. 0x0758e900: 00000000 00000000 b3e279da 00007ff7 .........y......
    16. 0x0758e910: 00000000 00000000 00000000 00000000 ................
    17. 0x0758e920: 039bf010 00000000 02394390 00000000 .........C9.....
    18. 0x0758e930: 0758ea80 00000000 b37985b3 00007ff7 ..X.......y.....
    19. 0x0758e940: 126e90f8 00000000 0000b059 00000000 ..n.....Y.......
    20. 0x0758e950: 00000000 00000000 06edaa40 00000000 ........@.......
    21. 0x0758e960: 039bf010 00000000 b3e5251a 00007ff7 .........%......
    22. 0x0758e970: 02373980 00000000 06edaa40 00000000 .97.....@.......
    23. 0x0758e980: 00000000 00000000 0758ea80 00000000 ..........X.....
    24. 0x0758e990: 0482f930 00000000 00000000 00000000 0...............
    25. 0x0758e9a0: 00000000 00000000 08397e00 00000000 .........~9.....
    26. 0x0758e9b0: 00000000 00007ff9 00000002 00000000 ................
    27. 0x0758e9c0: 00000000 00000000 00000000 00000000 ................
    28. 0x0758e9d0: 0758eab0 00000000 b15c1c38 00007ff9 ..X.....8.\.....
    29. 0x0758e9e0: 04ef2bd0 00000000 0758fa20 00000000 .+...... .X.....
    30. 0x0758e9f0: 00000068 00000000 ffffffff 00000000 h...............
    31. 0x0758ea00: 04ef2bd0 00000000 0057e520 00000000 .+...... .W.....
    32. 0x0758ea10: 00000003 007a41f0 00000068 00529978 .....Az.h...x.R.
    33. 0x0758ea20: a065d573 00696738 00000000 006967e0 s.e.8gi......gi.
    34. 0x0758ea30: b3550000 007a3240 003c8cd8 007a3250 ..U.@2z...<.P2z.
    35. 0x0758ea40: 0758fae0 00000000 0758ebd0 007a3bfc ..X.......X..;z.
    36. 0x0758ea50: b49a1ac0 00007ff7 00000000 00000000 ................
    37. 0x0758ea60: 0758fa20 00000000 007dc440 00007ff7  .X.....@.}.....
    38. 0x0758ea70: 007a2e48 007a2d38 007a2e58 0052997c H.z.8-z.X.z.|.R.
    39. 0x0758ea80: 0758fae0 006967e4 b3918cd8 00007ff7 ..X..gi.........
    40. 0x0758ea90: 0758ec20 00000000 0079cde8 00000000  .X.......y.....
    41. 0x0758eaa0: 0058baec 00000000 0058bb00 0069673c ..X.......X.<gi.
    42. 0x0758eab0: 0758fa20 0079cda4 006a4074 00007ff7  .X...y.t@j.....
    43. 0x0758eac0: 007a3290 007a3260 002030c0 006a44ac .2z.`2z..0 ..Dj.
    44. 0x0758ead0: 006a4560 00000000 dc8a9afd 00007ff9 `Ej.............
    45. 0x0758eae0: 00000000 00000000 007a1824 00000000 ........$.z.....
    46. 0x0758eaf0: 0758ec10 00000000 0758fae0 00000000 ..X.......X.....
    47. 0x0758eb00: 007a2ecc 00000000 007a3b54 00007ff9 ..z.....T;z.....
    48. 0x0758eb10: 007dafd8 00000000 0758fa00 00000000 ..}.......X.....
    49. 0x0758eb20: 007a1018 00000000 b2247a79 00000000 ..z.....yz$.....
    50. 0x0758eb30: 007a4218 00000000 007a4228 00000000 .Bz.....(Bz.....
    51. 0x0758eb40: 007a4240 00000000 007a4248 00000000 @Bz.....HBz.....
    52. 0x0758eb50: 007a4230 00000000 007a4370 00007ff7 0Bz.....pCz.....
    53. 0x0758eb60: 007a432c 00000000 007a42e8 00000000 ,Cz......Bz.....
    54. 0x0758eb70: 007a42a4 00000000 007a1c80 00007ff7 .Bz.......z.....
    55. 0x0758eb80: 007a2ed0 00007ff7 007a43f4 00000000 ..z......Cz.....
    56. 0x0758eb90: 007a17f4 00000000 0758fa20 00000000 ..z..... .X.....
    57. 0x0758eba0: 007a32e4 00000000 007a2d30 00000000 .2z.....0-z.....
    58. 0x0758ebb0: 007a2d38 00000000 0758e000 00000000 8-z.......X.....
    59. 0x0758ebc0: 006a4520 00000000 00000000 00000000  Ej.............
    60. 0x0758ebd0: 007a4160 00007ff7 007a4208 00007ff7 `Az......Bz.....
    61. 0x0758ebe0: 006a66e8 00007ff7 0079ce98 00000000 .fj.......y.....
    62. 0x0758ebf0: 006a44a8 00000000 006a44ac 00000000 .Dj......Dj.....
    63. 0x0758ec00: 005299dc 00007ff7 00529978 00007ff7 ..R.....x.R.....
    64. 0x0758ec10: 00529980 00000000 00696738 00000000 ..R.....8gi.....
    65. 0x0758ec20: 006967e0 00000000 006967e8 00000000 .gi......gi.....
    66. 0x0758ec30: 00000000 00000000 00000000 00000000 ................
    67. 0x0758ec40: 00000000 00000000 00000000 00000000 ................
    68. 0x0758ec50: 0010000f 00001f80 002030c8 0053002b .........0 .+.S.
    69. 0x0758ec60: 006a4060 00000202 00000000 00000000 `@j.............
    70. 0x0758ec70: 007a3244 00000000 007a3258 00000000 D2z.....X2z.....
    71. 0x0758ec80: 007a3260 00000000 005315d8 00000000 `2z.......S.....
    72. 0x0758ec90: 007a3254 00000000 406d1388 00000000 T2z.......m@....
    73. 0x0758eca0: 0758ec20 00000000 005315e8 00000000  .X.......S.....
    74. 0x0758ecb0: 007a32e8 00007ff7 007a4380 00000000 .2z......Cz.....
    75. 0x0758ecc0: 00000000 00000000 007a0ef8 00000000 ..........z.....
    76. 0x0758ecd0: 02394390 00000000 00680000 00000000 .C9.......h.....
    77. 0x0758ece0: 0758e388 00000000 006a4024 00007ff7 ..X.....$@j.....
    78. 0x0758ecf0: 0069fc40 00000000 000007b4 00000000 @.i.............
    79. 0x0758ed00: 000008b4 00000000 006a6668 00000000 ........hfj.....
    80. 0x0758ed10: 00000000 00000000 b3918cda 00007ff7 ................
    81. 0x0758ed20: 0079cd9c 00000000 0079cda4 00000000 ..y.......y.....
    82. 0x0758ed30: 00000000 00000000 007a3ca8 0000ffff .........<z.....
    83. 0x0758ed40: 007a1548 005298d8 007a3c24 005298d0 H.z...R.$<z...R.
    84. 0x0758ed50: 007a3c98 00529890 00000000 00529888 .<z...R.......R.
    85. 0x0758ed60: 007a3c20 005298c8 00000000 005298c0  <z...R.......R.
    86. 0x0758ed70: 00000000 00529900 00000000 005298e0 ......R.......R.
    87. 0x0758ed80: 00000000 00000000 00000000 00000000 ................
    88. 0x0758ed90: 00000000 007dc438 00000000 007dc460 ....8.}.....`.}.
    89. 0x0758eda0: 00000000 007dc440 00000000 007a2e08 ....@.}.......z.
    90. 0x0758edb0: 00000000 007a2e48 00000000 007a2e74 ....H.z.....t.z.
    91. 0x0758edc0: b4c05000 007a2e58 b3550000 007a40d8 .P..X.z...U..@z.
    92. 0x0758edd0: 0185a000 007a40b0 00000000 007a42a0 .....@z......Bz.
    93. 0x0758ede0: 00000000 007a4250 00000000 007a42a0 ....PBz......Bz.
    94. 0x0758edf0: 00000000 007a42a0 00000000 0079cdd0 .....Bz.......y.
    95. 0x0758ee00: 00000000 0079cdcc 00000000 007a3bf0 ......y......;z.
    96. 0x0758ee10: 007a2ec8 007a3be8 007dafd0 00000000 ..z..;z...}.....
    97. 0x0758ee20: 007a1010 00000000 007a4210 00000000 ..z......Bz.....
    98. 0x0758ee30: 007a424c 00000000 007a4374 007a4410 LBz.....tCz..Dz.
    99. 0x0758ee40: 007a4328 007a4408 007a1c84 00000000 (Cz..Dz...z.....
    100. 0x0758ee50: 007a4404 00000000 00000000 00000000 .Dz.............
    101. 0x0758ee60: 007a32c0 00000000 00000000 00000000 .2z.............
    102. 0x0758ee70: 00000000 00000000 007a41ec 00000000 .........Az.....
    103. 0x0758ee80: 006a66e0 00000000 006a44b0 00000000 .fj......Dj.....
    104. 0x0758ee90: 00529970 00000000 00696730 00000000 p.R.....0gi.....
    105. 0x0758eea0: 00696800 00000000 00000000 00000000 .hi.............
    106. 0x0758eeb0: 00000000 00000000 002030d0 00000000 .........0 .....
    107. 0x0758eec0: 00000020 00000000 007a3240 00000000  .......@2z.....
    108. 0x0758eed0: 005315e0 00000000 007a3250 010013f4 ..S.....P2z.....
    109. 0x0758eee0: 005315f0 00000000 007a43f0 00000000 ..S......Cz.....
    110. 0x0758eef0: c60033f5 00000000 00000000 00000000 .3..............
    111. 0x0758ef00: 07be1930 0079cdf4 0069fc1c 0079cdf0 0.....y...i...y.
    112. 0x0758ef10: 00000894 007a4418 00000000 007a4414 .....Dz......Dz.
    113. 0x0758ef20: 0079cdc8 007a3ac0 007a3cb4 007a3abc ..y..:z..<z..:z.
    114. 0x0758ef30: 007a3c34 0079cde4 000003ff 0079cdec 4<z...y.......y.
    115. 0x0758ef40: 007a3bfc 0079cde8 000003ff 0058bae8 .;z...y.......X.
    116. 0x0758ef50: 000003ff 0058baf0 007a4410 0058bb04 ......X..Dz...X.
    117. 0x0758ef60: 000003ff 0058bb00 00000000 00000000 ......X.........
    118. 0x0758ef70: 0000068b 00000000 00000000 00000000 ................
    119. 0x0758ef80: 00000000 006a406c 00000010 006a4084 ....l@j......@j.
    120. 0x0758ef90: 007a1808 006a4074 007a3b50 007a3280 ..z.t@j.P;z..2z.
    121. 0x0758efa0: ffffec0c 007a3294 007a4238 007a3290 .....2z.8Bz..2z.
    122. 0x0758efb0: 007a42e4 002030b0 007a1804 002030c4 .Bz..0 ...z..0 .
    123. 0x0758efc0: 007a2e04 002030c0 007a41c0 006a4550 ..z..0 ..Az.PEj.
    124. 0x0758efd0: 0079ce94 006a4584 005299d0 006a4560 ..y..Ej...R.`Ej.
    125. 0x0758efe0: e70013f4 00000000 00000000 00000000 ................
    126. 0x0758eff0: 007a3264 007a3238 00000000 00000000 d2z.82z.........
    127. 0x0758f000: 02000002 00000000 00000000 00000000 ................
    128. 0x0758f010: 00000000 00000794 00000000 00000000 ................
    129. 0x0758f020: 00000000 007a1554 000007ff 007a3bf4 ....T.z......;z.
    130. 0x0758f030: 000003ff 00000000 007a4220 007a3248 ........ Bz.H2z.
    131. 0x0758f040: 007a436c 007a0ee8 007a2ed4 006a6664 lCz...z...z.dfj.
    132. 0x0758f050: 00000003 007a3ca4 006a4548 00000000 .....<z.HEj.....
    133. 0x0758f060: 007a41f0 006a3ffc 005299e0 00007ff9 .Az..?j...R.....
    134. 0x0758f070: 00696740 00000000 dc8298b4 007a32f0 @gi..........2z.
    135. 0x0758f080: 006a4068 00000000 04843200 00000000 h@j......2......
    136. 0x0758f090: 00000044 00000000 00000000 00000000 D...............
    137. 0x0758f0a0: 00000209 00000000 00000209 00000000 ................
    138. 0x0758f0b0: 000027a8 00000000 00000018 00000004 .'..............
    139. 0x0758f0c0: 00000006 00000000 20799ad0 00000000 ..........y ....
    140. 0x0758f0d0: 0c3d4438 00000000 00000002 00019a41 8D=.........A...
    141. 0x0758f0e0: 0399fc00 00000000 00000001 00000000 ................
    142. 0x0758f0f0: 00000002 00010402 00000001 00000002 ................
    143. 0x0758f100: 00000196 00000002 00000001 00000000 ................
    144. 0x0758f110: 00000010 00000001 00000001 00000013 ................
    145. 0x0758f120: 00000000 00000000 04843890 00000000 .........8......
    146. 0x0758f130: 00000000 00000000 0000002d 00000000 ........-.......
    147. 0x0758f140: 1f470000 00000000 0b4e0000 00000000 ..G.......N.....
    148. 0x0758f150: 00000000 000034b9 89000188 00000000 .....4..........
    149. 0x0758f160: 00000001 00000000 00000000 00000000 ................
    150. 0x0758f170: 00000801 00000000 00000008 00000000 ................
    151. 0x0758f180: 008c0000 00000000 00000010 00000000 ................
    152. 0x0758f190: 00008000 00000000 00008010 00000000 ................
    153. 0x0758f1a0: 00000000 00000000 0758f210 00000000 ..........X.....
    154. 0x0758f1b0: 07b05470 00000000 dc827063 00007ff9 pT......cp......
    155. 0x0758f1c0: 89000188 00000000 00000000 00000000 ................
    156. 0x0758f1d0: a065ddf3 0000b660 dc829f69 00007ff9 ..e.`...i.......
    157. 0x0758f1e0: 00000000 00000000 0000004e 00000000 ........N.......
    158. 0x0758f1f0: dc949ac4 00007ff9 dc800000 00007ff9 ................
    159. 0x0758f200: 0758fa20 00000000 dc922928 00007ff9  .X.....()......
    160. 0x0758f210: 0758f3d0 00000000 dc836c94 00007ff9 ..X......l......
    161. 0x0758f220: 0000007a 00000000 000001ff 00000000 z...............
    162. 0x0758f230: 0758f280 00000000 f4797122 8d3773df ..X....."qy..s7.
    163. 0x0758f240: fffffef2 07a82bbe 008c6884 00000000 .....+...h......
    164. 0x0758f250: fffffec5 00000000 00000000 00000000 ................
    165. 0x0758f260: 00000013 0000000d ffff0200 ffffff03 ................
    166. 0x0758f270: ffffffff ffffffff ffffffff ffffffff ................
    167. 0x0758f280: ffffffff 0000000d 06edcbb0 00000000 ................
    168. 0x0758f290: 1a971080 00000000 1a971100 00000000 ................
    169. 0x0758f2a0: 00000002 00019a41 00000000 00007ff7 ....A...........
    170. 0x0758f2b0: 00000000 00000000 00000000 00000000 ................
    171. 0x0758f2c0: 02373980 00000000 00000000 00000000 .97.............
    172. 0x0758f2d0: 00000000 00000000 00000000 00000000 ................
    173. 0x0758f2e0: 00000000 00000000 00000000 00000000 ................
    174. 0x0758f2f0: 00000000 00000000 00000000 00000000 ................
    175. 0x0758f300: 023a8b10 00000000 00000001 00000000 ..:.............
    176. 0x0758f310: ffffffff 00000000 00000000 00000000 ................
    177. 0x0758f320: 00000000 00000000 00000000 00000000 ................
    178. 0x0758f330: 00000008 00000000 07080000 00000000 ................
    179. 0x0758f340: 00000000 00000000 047d8010 00000000 ..........}.....
    180. 0x0758f350: 047d7f20 00000000 00000000 00000000  .}.............
    181. 0x0758f360: 00000000 00000000 00000000 00000000 ................
    182. 0x0758f370: 00000000 00000000 120fbab0 00000000 ................
    183. 0x0758f380: 120fbef0 00000000 00000000 00000000 ................
    184. 0x0758f390: 00000000 00000000 00000000 00000000 ................
    185. 0x0758f3a0: 00000000 00000000 08399244 00000000 ........D.9.....
    186. 0x0758f3b0: 08399270 00000000 00000000 00000000 p.9.............
    187. 0x0758f3c0: 00000000 00000000 00000000 00000000 ................
    188. 0x0758f3d0: 00000044 00000000 00000000 00000000 D...............
    189. 0x0758f3e0: 0758fa20 00000000 00000000 00000000  .X.............
    190. 0x0758f3f0: 00000000 00000000 00000000 00000000 ................
    191. 0x0758f400: 00000000 00000000 00000000 00000000 ................
    192. 0x0758f410: 00000000 00000000 00000000 00000000 ................
    193. 0x0758f420: 0010004f 00001f80 002b0033 0053002b O.......3.+.+.S.
    194. 0x0758f430: 00400017 00000000 dc8586e1 00007ff9 ..@.............
    195. 0x0758f440: 02240000 00000000 00000000 00000000 ..$.............
    196. 0x0758f450: 00040002 00000000 00000000 00000000 ................
    197. 0x0758f460: 00000000 00000000 00000000 00000000 ................
    198. 0x0758f470: 02240000 00000000 dc829d93 00007ff9 ..$.............
    199. 0x0758f480: 00006000 00000000 00000000 00000000 .`..............
    200. 0x0758f490: 00000000 00000000 02394390 00000000 .........C9.....
    201. 0x0758f4a0: 00001000 00000000 00000004 00007ff9 ................
    202. 0x0758f4b0: c24ab401 00007ff9 0c406000 00000000 ..J......`@.....
    203. 0x0758f4c0: 00000001 00000000 00000001 00000000 ................
    204. 0x0758f4d0: 0c406040 00000000 00000001 00000000 @`@.............
    205. 0x0758f4e0: 00000000 00000000 d9031f28 00007ff9 ........(.......
    206. 0x0758f4f0: 0000027f 00010000 00000000 00007ff9 ................
    207. 0x0758f500: 008c27b0 00000000 00001f80 00007ff9 .'
     
  9. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    287
    @uiniti Could you reproduce the issue locally and then file a bug report and post just the bug number here? Thanks.
     
    uiniti likes this.
  10. uiniti

    uiniti

    Joined:
    Feb 4, 2015
    Posts:
    74
    I can but I can't attach the project because it's too big and my upload is awful.
     
  11. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    287
  12. uiniti

    uiniti

    Joined:
    Feb 4, 2015
    Posts:
    74
unityunity