Page MenuHome

VR scene inspection - crash with view layers
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: TITAN X (Pascal)/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.87

Blender Version
Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-07-26 20:02, hash: rB04195b1e743c
Worked: -

Short description of error
I had consistent crashes on some of my files when starting a VR sessing in the VR scene inspection addon. After some experimenting I've narrowed it down to the following two bugs:

Bug #1. Starting the VR session only works when using the first view layer (the one at the top of the view layer list). If you have any other view layer active, and click on "Start VR Session", Blender crashes.

Bug #2. If you do start the session in the first view layer, you cannot switch to another view layer inside the VR session. If you activate another one, the 3D viewport switches over, but the VR-glasses still show the old one.
This unfortunately defeats the purpose of having view layers to show/hide predefined sets of collections/objects.

Exact steps for others to reproduce the error

  • Activate VR scene inspection addon
  • Add a new view layer (settings don't matter), and stay in it
  • Click on "Start VR Session" --> crash

OR

  • Add a new view layer, add some objects
  • activate first view layer
  • Start VR session
  • activate second view layer --> nothing changes in VR