Search Issue Tracker
Fixed
Fixed in 6000.0.51f1, 6000.1.7f1, 6000.2.0b2
Votes
0
Found in
6000.0.47f1
6000.1.0b15
6000.2.0a9
7000.0.0a1
Issue ID
UUM-103220
Regression
Yes
CaptureScreenshotAsTexture fails when VR headset is connected and is inactive during Play Mode
Reproduction steps:
1. Open the attached project “ReproProject“
2. Open the scene “OutdoorsScene“
3. Make sure that the VR headset is connected (Do not activate headset by putting it on)
4. Enter Play Mode
5. Select “TakeScreenshot“ GameObject in the Hierarchy
6. In the Inspector window, click on the “Take Screenshot“ check mark
7. Observe the result in the Console
Expected result: The screenshot is taken, no errors in the Console
Actual result: Screenshot is not taken, error appears in the Console
Reproducible in: 2023.3.0a9, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Not reproducible in: 2022.3.61f1, 2023.3.0a8
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Reproducible with: Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, v72, OS: 12
Notes:
- When trying to save the screenshot, a null exception error for Texture2D appears if reproduction steps were followed (More information in the internal notes)
- The issue can be fixed by entering Play Mode with an inactive headset (following the reproduction steps), then activating the headset afterwards. The problem does not reoccur when deactivating the headset (by putting it down), after entering Play Mode with VR headset deactivated. The issue only reproduces when re-entering Play Mode with an inactive headset
- Also reproducible in Standalone Player (More information in the internal notes)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Add comment