Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android Editor] Error parsing editor_settings-4.3.tres #93826

Open
m4gr3d opened this issue Jul 1, 2024 · 0 comments
Open

[Android Editor] Error parsing editor_settings-4.3.tres #93826

m4gr3d opened this issue Jul 1, 2024 · 0 comments

Comments

@m4gr3d
Copy link
Contributor

m4gr3d commented Jul 1, 2024

Tested versions

  • Reproducible in Godot Android Editor 4.3 beta 2
  • Not reproducible in Godot Android Editor 4.2.2 stable

System information

Android 12, Android 14

Issue description

There is a regression that causes the editor_settings-4.3.tres file to be randomly truncated. This seems to be a race condition as the issue doesn't always occur, but when it does, it first causes the editor to crash when re-opening the project, then it causes the editor to crash every time it's opened with the following error logs:

E  USER ERROR: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres:1 - Parse Error: 
E     at: open (scene/resources/resource_format_text.cpp:1056)
E  USER ERROR: Failed loading resource: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres. Make sure resources have been imported by opening the project in the editor at least once.
E     at: _load (core/io/resource_loader.cpp:282)
A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8173 (GLThread 30), pid 8145 (editor.v4.debug)
---------------------------- PROCESS STARTED (8196) for package org.godotengine.editor.v4.debug ----------------------------
A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8173 (GLThread 30), pid 8145 (editor.v4.debug)

The editor_settings-4.3.tres file ends up empty.

Steps to reproduce

  • Download Godot Android Editor 4.3 beta 2
  • Load a sample project from the asset library. E.g: https://godotengine.org/asset-library/asset/2174
  • Open the project in the editor
  • After the project has loaded, select Project -> Quit to project list to return to the project list
  • In the project list, press the back button to exit the editor
  • Re-open the editor
  • Re-launch the sample project

Note: As mentioned in the description, this seems to be a race condition so it may take several attempts before it repros, and even then it's not guaranteed to repro

Minimal reproduction project (MRP)

https://godotengine.org/asset-library/asset/2174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Blocker
Development

No branches or pull requests

1 participant