Finally found the reason why the UI wasn’t updating when switching languages in Adventure Creator. The issue is caused by the Unity Localization package. We don’t actually use it, but it was added to the project.
I was able to reproduce the problem…
Yes, it does seem like an issue with the Unity environment. I already tried deleting the Project Settings folder and restarting the project, but that didn’t help. At this point, I have almost no idea what exactly is causing the problem.
If I try the Demo in a separate project, the language switching works correctly. But when I add the Demo to our current project — loading it via Adventure Creator > Getting Started > Load 3D Demo, which loads everything including managers, cam…
Hey Chris,
Huge thanks – you basically saved our lives with this one! 🙌 Your hint led us straight to the issue.
It turned out that the problem was caused by an Inventory: Select action with the Deselect. This was part of an ActionList that was tri…
Thanks for the suggestion!
I tried running the 3D Demo in a fresh project, and you’re right — the language switching works perfectly there. So it does seem to be something specific to our project setup.
Is there a recommended way to reset AC setti…
Here is full stacktrace
Inventroy Deselect(From Action #0 in ActionList 'OnInventoryDeselect') -> AC debug loggerUnityEngine.Debug:LogWarning (object,UnityEngine.Object)AC.ACDebug:LogWarning (object,AC.ActionList,AC.Action,UnityEngine.Object) (a…
* Unity version: 6000.0.49f1
* AC version: 11.83.0
Yes, I’ve tested it with both AC source and Unity UI (Text - Legacy) — the issue occurs in both cases.
Here’s a video showing the problem:
* AC menu
* Text Legacy
* Text Mesh Pro
I’ve found consistent repro steps that always trigger the issue:
* Select an inventory item so that it appears on the cursor (i.e. ready to be used).
* Pause the game (using AC.KickStarter.stateHandler.gameIsPaused = true; or any equivalent Pause G…
Thanks for your quick reply!
* Platform: We’re working on Windows and Mac, but in Editor as well.
* Yes, the issue happens when trying to select a new item after returning focus to the game. The item appears to be selected briefly, then gets immedi…
Hey Chris,
I just wanted to add one more detail:
When the game is restarted, all UI text displays in the correct language, so the translations themselves are working fine.
The issue is that during runtime, when the language is changed using Optio…
Hi, Chris
When a player clicks on the inventory item it should become selected and ready to use wherever on the scene through click&click mode.
But if a player starts to drag the item from the inventory it should glue to the cursor and be ready…