Godot Version
4.4.1
Question
` I am sharing a project with another developer through GitHub. Whenever either of us tries to merge our branches with our main ‘dev’ branch, major conflicts follow.
When merging with said branch, many scene are impossible to open in Godot, which shows the error "Error while parsing file ‘scene_name.tscn’
I don’t really understand parse errors.
This has happened while several scenes, and i can’t find information anywhere for a possible fix.
Here is a sample of the Output from Godot when trying to open ‘enemy.tscn’
Godot Engine v4.4.1.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started on port 6006 ---
--- GDScript language server started on port 6005 ---
ERROR: Cannot get class 'GitPlugin'.
ERROR: Received a nullptr VCS extension instance during construction.
WARNING: scene/resources/resource_format_text.cpp:447 - res://scenes/entities/Player/player.tscn:5 - ext_resource, invalid UID: uid://dgfgcmo40quhs - using text path instead: res://assets/img/player.png
WARNING: scene/resources/resource_format_text.cpp:447 - res://scenes/entities/Enemy/enemy.tscn:4 - ext_resource, invalid UID: uid://t4uvgydq72h3 - using text path instead: res://assets/img/enemy.png
ERROR: scene/resources/resource_format_text.cpp:282 - Parse Error: Parse error. [Resource file res://scenes/entities/Enemy/enemy.tscn:21]
ERROR: Failed loading resource: res://scenes/entities/Enemy/enemy.tscn. Make sure resources have been imported by opening the project in the editor at least once.
WARNING: scene/resources/resource_format_text.cpp:447 - res://scenes/entities/Entity/health_bar.tscn:3 - ext_resource, invalid UID: uid://cx3bfydpl4aai - using text path instead: res://assets/img/HPBarEmpty.png
WARNING: scene/resources/resource_format_text.cpp:447 - res://scenes/entities/Entity/health_bar.tscn:4 - ext_resource, invalid UID: uid://dckhanirwkuu5 - using text path instead: res://assets/img/HPBarFull.png
WARNING: scene/resources/resource_format_text.cpp:447 - res://scenes/entities/Enemy/enemy.tscn:4 - ext_resource, invalid UID: uid://t4uvgydq72h3 - using text path instead: res://assets/img/enemy.png
ERROR: scene/resources/resource_format_text.cpp:282 - Parse Error: Parse error. [Resource file res://scenes/entities/Enemy/enemy.tscn:21]
ERROR: Failed loading resource: res://scenes/entities/Enemy/enemy.tscn. Make sure resources have been imported by opening the project in the editor at least once.
`