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

asked Mar 29, 2018 in Engine by Chao Yu (25 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.

answered Mar 29, 2018 by Chao Yu (25 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 How to use this Q&A? before posting your first questions.