Search Issue Tracker
Fixed
Fixed in 1.20.3
Votes
0
Found in [Package]
1.19.19
Issue ID
ADDR-2622
Regression
No
Black Screen after relaunch app with addressable asset and localized string
Reproduce steps:
# open attached project Test Sample and open testscene.
# build addressables and then generate a android build
# open app.
Actual result: black screen appears after spash screen
editor 2020.3.28f/localization1.1.1/addressable 1.19.18/urp 10.8.1
user repro steps:
To reproduce it: # Create empty project (Unity 2020.3.28f1)
# Import Addressable package v1.19.18.
# Create a camera and gameobject and attach a new script and add following program.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
public class test : MonoBehaviour
{
public AssetReferenceGameObject assetReferenceGameObject;
public GameObject instantiatedGameObject;
// Start is called before the first frame update
IEnumerator Start()
{
if (!instantiatedGameObject)
{
var asyncOpHandle = assetReferenceGameObject.InstantiateAsync(this.transform);
//yield return asyncOpHandle;
asyncOpHandle.WaitForCompletion();
instantiatedGameObject = asyncOpHandle.Result;
}
yield break; // Here just to allow compilation
}
}
# Save scene and Build the bundle
# Deploy to Android device
# Launch the app and black screen appear after splash screen
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
- "Broken text PPtr in file(Assets/GemHunterMatch/Characters/Mermaid/Animations/Controller_PSD_character_mermaid.controller)" is thrown when importing "Gem Hunter Match - 2D Sample Project" into the project
- .wav and .ogg audio files can't be imported to the project when the WebGL Build Profile is selected
- [VFX Graph] Capacity Issue when using GPUEvent and Strips.
- Requested destroyCancellationToken reports as not requested when not called before destroyed
- [Rendering Debugger] Shortcut in documentation to open window doesn't work
Resolution Note (fix version 1.20.3):
Verify fix in addr 1.20.3/loc 1.1.1 and up.