godot-vita
godot-vita copied to clipboard
[Bug] loading Font and some resources doesn't work until it's hardcoded
Long story short, I'm trying to create a game prototype with multilanguage, and I added a CSV file for localization, like the Godot documentation says. It works as expected in the PC debugger. However, once I run it in the vita, the text for that part is not displayed at all.
Godot version: https://github.com/SonicMastr/godot-vita/actions/runs/8011699088 OS/device including version: Target: PS Vita 3.65 Henkaku ENSO Developed in: Windows7 Home Premium, Service Pack 1
Issue description: No text shown from CSV files. (In the PS Vita, the PC works as expected)
Steps to reproduce:
- Grab the "SLAYERS.zip" attached, and change the extension to VPK. Install the homebrew in your vita. SLAYERS.zip
- Boot up the game and press the START button, the pause menu will prompt. Below "PAUSE" this should display:
However, in the vita, this is what you see:
Edit: Doing a few trial and error I found out that the problem relies on how the vita version loads the project's fonts. For some reason, sometimes, it doesn't find the resource properly and you have to hardcode it. Image attached from godot's engine. The left side is how I did it before, and the right side is "hardcoded" to find it.