The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

Think I encountered an extremely strange bug.

Yesterday, after I finished coding a feature of my game and tested thoroughly without any error messages in the output log, I did a Git Commit and closed the project.

However, today, without doing any modification, I opened the project and the output log became flooded immediately with the following error message.

core/rid.h:165 - Condition ' !id_map.has(p_rid.get_data()) ' is true. returned: __null

Aside from that, the texts of the editor tabs became unreadable bizarre squares. And the scene is not editable. (I can still run it though).

Screenshots of the output log:

Screenshot 1

Screenshot 2

Screenshot of the broken editor.

Screenshot 3

The weirder thing is, after I Git Checkouted my previous commit -> reopened the project (errors were gone in this step) -> closed the project -> re-Git Checkouted the latest commit. The errors were all gone. (So I guess the error has nothing to do with my source code).

Since I'm not quite familiar with Godot's source code and the "behind the scenes" of Git, I wonder if there's any way to solve this, or is it a bug of Godot? (Should I file this as an Issue on GitHub?)

P.S. I'm running Godot 3.0.2 on macOS 10.13.1

in Engine by (22 points)

1 Answer

0 votes
Best answer

So I somehow tackled this problem without knowing why:

I simply git clone the project from the remote repo to a brand new folder, and all the errors are gone.

by (22 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.