Search Issue Tracker

Fixed

Fixed in 1.5.0-pre.6

Votes

0

Found in [Package]

1.4.5

1.5.0-pre.5

Issue ID

LOC-1039

Regression

No

"Exception: Invalid Operation Handle" When Initializing Localization in Player Build

Package: Localization Package

-

Reproduction steps:

1. Open the user-attached "LocalizationIssue.zip" project
2. Open the "Assets/Scenes/SampleScene"
3. In the "GameInitializer" GameObject, set the "Wait For Completion" to false
4. Go to "Edit" -> "Project Settings" -> "Localization" and set the "Initialize Synchronously" to true
5. Open the Adressables Groups window via "Window" -> "Asset Management" -> "Addressables" -> "Groups"
6. In the Adressables Groups window, click on "Build" -> "New Build" -> "Default Build Script"
7. Close the Adressables Groups window and press Play
8. Observe Console logs
9. Go to "Window" -> "Build and Run"
10. Wait for the Player to run and after waiting a few seconds, exit out of it with Alt+F4
11. In the Console window, click on the three dots and open Player Log
12. Search for "Init start" and observe the results

Expected results: Running Player results in a "Init success" in the Player Logs
Actual results: Running Player results in an "Exception: Attempting to use an invalid operation handle" in the Player Logs

Reproducible with: 1.4.4 (2021.3.33f1), 1.4.5 (2021.3.33f1, 2022.3.14f1, 2023.2.2f1, 2023.3.0a16)
Not reproducible with: 1.4.3 (2021.3.33f1)

Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested

Notes:
1. In Player:
- Both "Initialize Synchronously" and "Wait For Completion" set to false results in no exception
- Every other combination results in "Exception: Attempting to use an invalid operation handle"
2. In Editor:
- Every combination results in no exception

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.