i am trying to pass some assets thorough the web to my game.
in this process we have few textures and 1 animation file.
when trying to load the file i get:
open: user://animTest.tres:1 - Parse Error
the end goal is to be able to add this animation to AnimationPlayer through add_animation func..
any ideas how it is possible to import an animation file from the web?
tried to get a file via http request, and load it to a new animation object. didnt work - get a parse error.
After setting up a Godot 3.5.1 environment I tried to reconstruct your problem with the informations you gave us.
What I did in Godot:
Then for the sake of imitating the loading from a server, I made a simple local file server and put the test.tres file there, so Godot will be able to download it.
Next I created a script in my scene to load the file. Therefore I created a HttpRequester Node and downloaded the file:
Then in the signal I saved the file on the system and then loaded it as an animation. Playing the animation did work without problems:
Of course this example misses error handling and multiple files, but it shows a way to load an animation from a fileserver and playing it