Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0a20

2021.2.0b1

Issue ID

1355775

Regression

Yes

[Metal] Changing Adaptive Resolution Level asks for unsupported texture format which causes Editor crash

Metal

-

How to reproduce:
1. Create a new project
2. Download Adaptive Performance package via Package Manager
3. Install two Adaptive Performance Samples -> Environment and Adaptive Resolution
4. Open Adaptive Resolution Sample
5. Go to Project Settings -> Adaptive Performance -> Standalone and enable Simulator provider
6. Change Game to Simulator
7. Play the Scene
8. Open Simulator Control Panel and navigate to Adaptive Performance > Indexer > Scaler > Resolution
9. Change Level Override value

Actual Result: Editor crashes
MTLTextureDescriptorInternal validateWithDevice:]:1248: failed assertion `Texture Descriptor Validation
MTLTextureDescriptor has invalid pixelFormat (0)

Reproduced on: 2021.2.0a20.2866, 2021.2.0b1, 2022.1.0a1.191, 2022.1.0a5.673 Adaptive Performance 3.0.pre2

Not reproducible: 2020.3.11f1 (Adaptive Performance 2.1.1), 2021.2.0a19.2770

Reproduced on MacOS
Doesn't reproduce on Windows machine

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.