Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

Lightweight PR 6.9.2

Issue ID

1204120

Regression

No

[Android]Crash on CreateFromExistingTextureCopy when rendering the camera output to a RawImage with Lightweight RP 6.9.2

Package: Scriptable Render Pipeline Lightweight

-

How to reproduce:
1. Open the attached project
2. Build and Run the project on the Android device
===Crash occurs===

Reproducible with: 2019.2.0a1, 2019.2.17f1

Reproducible with: Vulkan
Not reproducible with: OpenGLES3

Reproducible with:
Lightweight RP 6.9.0
Lightweight RP 6.9.1
Lightweight PR 6.9.2

Not reproducible with:
Lightweight RP 7.0.1
Lightweight RP 7.1.1
Lightweight RP 7.1.2
Lightweight RP 7.1.5
Lightweight RP 7.1.6

A few lines from the stack trace:
#00 pc 00a3c892 /data/app/com.DefaultCompany.LWPTest-6ynw8Ws9dZx0moyfM66qGQ==/lib/arm/libunity.so (vk::Texture::CreateFromExistingTextureCopy(vk::Texture const*, vk::CommandBuffer*, TextureID)+293)
#01 pc 00a5d559 /data/app/com.DefaultCompany.LWPTest-6ynw8Ws9dZx0moyfM66qGQ==/lib/arm/libunity.so (vk::ImageManager::GetOrCreateTexture(TextureID, vk::ImageManager::GetOrCreateMode, vk::CommandBuffer*)+376)
#02 pc 00a2bfe5 /data/app/com.DefaultCompany.LWPTest-6ynw8Ws9dZx0moyfM66qGQ==/lib/arm/libunity.so (GfxDeviceVK::UploadTextureSubData2D(TextureID, unsigned char const*, int, int, int, int, int, int, GraphicsFormat, TextureUploadFlags)+64)
#03 pc 004356d3 /data/app/com.DefaultCompany.LWPTest-6ynw8Ws9dZx0moyfM66qGQ==/lib/arm/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+8370)

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.