I am constantly 3 errors that don't relate to my code. I will list the errors below.

Unicode parsing error, some characters were replaced with spaces: Invalid UTF-8 continuation byte (d5 ... 2 ...)
core/io/image_loader.cpp:101

Error loading image: res://Call of Duty/players/cod22/76561199089497736/savegame.svg

Error importing 'res://Call of Duty/players/cod22/76561199089497736/savegame.svg'.

I have no idea what these errors mean since I am not using anything from Call of Duty, I just own the game.

    wasd I have no idea what these errors mean since I am not using anything from Call of Duty, I just own the game.

    The issue is the SVG you are importing has non-UTF8 material in it. My guess is the SVG has additional data (extensions or something?) or is using a SVG format that Godot cannot understand.
    I am not sure what to suggest as a solution though. I might try seeing if you can open the SVG in Inkscape or a similar SVG editor and then export it from there and see if Godot does better with the SVG editor export.

    For the “Call of Duty” part, it is happening because you have a folder named Call of Duty under your projects main folder (the folder with project.godot) and the SVG file is found there. I would remove or move the Call of Duty folder out of your Godot project folder to a different folder if you do not need the contents of the folder in your Godot project.

    Thank you! apparently my Godot was taking the files from my entire documents folder, which included the Call of Duty folder, so I just put in a .gitgnore file and it solved the problem

      wasd Did you perhaps scan a whole drive rather than a specific sub-directory for projects?

      • wasd replied to this.
        10 days later

        wasd The way godot currently is designed to function your projects assets should be located within your respective projects folder.

        A way to shoehorn in a systemwide shared asset library would be to use symlinked folders. Something the linux/nix systems usually support out of the box but while NTFS does support it too(called a junction in NTFS), at least on windows 7 I needed to install thirdparty software to make use of. Newer versions of windows apparently have changed that.