Commit 8ad9f3b
lawwong
Fix not showing device in Unity 5.6 w/ SteamVR plugin v1.2.3
SteamVR v1.2.3 NewPosesUpdater doesn't work because OnCameraPreCull
callback (called onc per camera e per frame) in Unity 5.6 seems doesn't report VR camera as CameraType.VR
(CameraType.Game instead), and the updater skip them.
After Unity 2017.2 updating VR device pose should use onBeforeRender callback
instead (called once per frame)
close #281 parent 0b322d4 commit 8ad9f3b
File tree
2 files changed
+8
-4
lines changed- Assets/HTC.UnityPlugin
- VRModule
- ViveInputUtility/Scripts
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| |||
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | | - | |
| 231 | + | |
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
| |||
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
306 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
307 | 311 | | |
308 | 312 | | |
309 | 313 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
0 commit comments