Search Issue Tracker
Fixed
Fixed in 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a12, 7000.0.0a1
Votes
0
Found in
2022.3.11f1
2023.1.16f1
2023.2.0b13
2023.3.0a9
7000.0.0a1
Issue ID
UUM-53142
Regression
No
[OpenGL] Crash when trying to create a texture with TextureUploadFlags::kTextureUploadUninitialized
Steps to reproduce:
1. Open the attached “AndroidTextureCrash” project
2. Build and run the project on the device
3. Press the “Load” button on the device’s screen
Expected result: The app doesn’t crash
Actual result: The app crashes
Reproducible with: 2022.1.0a2, 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Not reproducible with: 2021.3.31f1
Could not test with: 2022.1.0a1 (gradle errors)
Reproducible on: macOS Ventura 13.5(Intel)
Not reproducible on: No other environment tested
Reproducible with devices:
VLNQA00334 - Xiaomi Mi A3 (Mi A3), CPU: Snapdragon 665 SM6125, GPU: Adreno 610, OS: 11
VLNQA00498 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 13
VLNQA00409 - Galaxy Z Fold3 5G (SM-F926B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00513 - OnePlus Nord N10 5G (BE2029), CPU: Snapdragon 690 SM6350, GPU: Adreno 619, OS: 11
Not reproducible with devices:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Notes:
- Not a regression as the issue was caused by a new feature
- Not reproducible with Vulkan graphics API
Can also use this function to reproduce this issue:
public void Uploadtexture()
{ var aa = new Texture2D(1024, 1024, TextureFormat.RGBA32, false, false, true); }
First few lines of the symbolized stacktrace:
#09 pc 00000000000c87d8 (libGLESv2_adreno.so not found) /vendor/lib64/egl/libGLESv2_adreno.so (glTexSubImage2D+144) (BuildId: 58fb42c513e51f274b9cfcc69e80584f)
#10 pc 0000000000bbe3c8 (ApiGLES::TextureImage(unsigned int, unsigned int, int, GraphicsFormat, int, int, int, int, int, void const*) at ??:0) /data/app/~~Q-YY4UTUt0cr7vE_cbWwzA==/com.DefaultCompany.AndroidTextureCrash-y9zZnvGLOZ_raSHTsrDb6Q==/lib/arm64/libunity.so (ApiGLES::TextureImage(unsigned int, unsigned int, int, GraphicsFormat, int, int, int, int, int, void const*)+712) (BuildId: e0548d80979a6893)
#11 pc 0000000000bb1e20 (?? at ??:0) /data/app/~~Q-YY4UTUt0cr7vE_cbWwzA==/com.DefaultCompany.AndroidTextureCrash-y9zZnvGLOZ_raSHTsrDb6Q==/lib/arm64/libunity.so (BuildId: e0548d80979a6893)
#12 pc 0000000000ba6760 (gles::UploadTexture(ApiGLES*, GLESTexture&, GraphicsFormat, void const*, unsigned long, int, int, int, int, TextureUploadFlags) at ??:0) /data/app/~~Q-YY4UTUt0cr7vE_cbWwzA==/com.DefaultCompany.AndroidTextureCrash-y9zZnvGLOZ_raSHTsrDb6Q==/lib/arm64/libunity.so (gles::UploadTexture(ApiGLES*, GLESTexture&, GraphicsFormat, void const*, unsigned long, int, int, int, int, TextureUploadFlags)+1028) (BuildId: e0548d80979a6893)
#13 pc 0000000000ba631c (GfxDeviceGLES::UploadTexture2D(TextureID, TextureDimension, unsigned char const*, unsigned long, int, int, GraphicsFormat, int, TextureUploadFlags) at ??:0) /data/app/~~Q-YY4UTUt0cr7vE_cbWwzA==/com.DefaultCompany.AndroidTextureCrash-y9zZnvGLOZ_raSHTsrDb6Q==/lib/arm64/libunity.so (GfxDeviceGLES::UploadTexture2D(TextureID, TextureDimension, unsigned char const*, unsigned long, int, int, GraphicsFormat, int, TextureUploadFlags)+260) (BuildId: e0548d80979a6893)
#14 pc 0000000000d80284 (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) at ??:0) /data/app/~~Q-YY4UTUt0cr7vE_cbWwzA==/com.DefaultCompany.AndroidTextureCrash-y9zZnvGLOZ_raSHTsrDb6Q==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+30396) (BuildId: e0548d80979a6893)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Bad performance when executing the Physics.IgnoreCollisions() method while in Play Mode
- Sprite Editor has a thicker separator between buttons when "Sprite Editor" option is selected
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when UpdateVolumeStack function is called
- [Windows] Unicode custom text input window shows question marks when inserting an emoji
- Memory leak when the VFX Graph Editor is open
Add comment