Search Issue Tracker
By Design
Votes
0
Found in
5.6.1f1
Issue ID
922339
Regression
No
[Android] Reading files from External storage is not allowed if device was restarted
Steps to reproduce:
1) Download repro project from OwnCloud and open in Unity
2) Make sure that Install Location in Player settings is set to 'Prefer External'
3) Make sure that device under test has external memory(SD card)
4) Build and Run 'TestScene' on a device
5) Press on 'Add file' button
6) Choose a location of SD card and press on 'Select' button(bottom right)
7) Press on new generated button which should display created file's path
Pop up 'lolol' should be displayed on the screen(expected)
8) Close the app and restart device
9) Open application again and click on file's path button
Permission to read this file will be denied
Expected result: Permission to read files from external storage should be allowed after device was restarted
Actual result: Permission to read files from external storage is denied after device was restarted
Reproduced with:
5.5.4p1, 5.6.2f1, 2017.1.0b10, 2017.2.0a4
Devices under test:
Verizon SM G930V*, OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Verizon/heroqltevzw/heroqltevzw:6.0.1/MMB29M/G930VVRU2APG3:user/release-keys
Samsung SM G903F*, OS:6.0.1, CPU:armeabi-v7a, GPU:Mali-T720, Build:samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BPF4:user/release-keys
Note: Works fine if application was installed in the Internal storage
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment