Search Issue Tracker
Fixed in 2018.2.14f1
Votes
3
Found in
2018.2.0a1
2018.2.0b4
Issue ID
1037018
Regression
Yes
[2018.2][Android] Setting RenderTexture.active causes crash when not using 32bit dispaly buffer
To reproduce:
1. Download attached project "render_texture_test.zip" and open in Unity
2. Open "SampleScene" scene
3. Change platform to "Android"
4. Go to Player Settings... > Resolution and Presentation and check "Use 32-bit Display Buffer"
5. Build and run the project on an Android device
6. Observe that everything will work fine
7. Go to Player Settings... > Resolution and Presentation and uncheck "Use 32-bit Display Buffer"
8. Run logcat
9. Build and run the project on an Android device
10. Observe that .apk will crash
Notes:
- Logcats are shared in the comments section
- This issue is reproducible only on Android devices
- This issue is not reproducible in iOS devices because there is no "Use 32-bit Display Buffer" setting
- This issue is not reproducible in Windows and OSX Standalone because there is no "Use 32-bit Display Buffer" setting
- This issue is not reproduced in Editor
- On Unity 2018.3.0a1 it does not crash but shows the black screen
Devices:
- Google Pixel 2, OS: 8.1.0, CPU: arm64-v8a, GPU: Adreno (TM) 540 - Reproduced
- iPhone 7, iOS: 11.2.6, CPU: A10 - Not Reproduced
Reproduced on Unity 2018.2.0a1, 2018.2.0b4 and 2018.2.0b5
Not reproduced on Unity 2018.1.2f1
Regression on Unity 2018.2.0a1
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
rory-runaway
Jul 19, 2018 22:17
This happens for us as well in our game. Since 2018.2 trying to Create RenderTextures on Android without the 32 bit Display Buffer enabled in the player settings causes a segmentation fault and the game crashes instantly.