I tried asking a similar question earlier, but it was poorly stated and asked something a bit different, so here i am with the correct question now.
I'm trying to load a file from the user:// directory by calling
load("user://music/file.wav") (where "file.wav" is the file i'm trying to load, located in the user:// directory). However, it doesn't load at all, unlike what it does when i try exactly the same thing in the res:// directory.
When i print the stream property of the AudioStreamPlayer to which i'm loading the file, it prints
[object:null]. Why is the
load() function not working outside of res://? is there something i should know about it? And how to resolve this problem?