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 of the broken editor.
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