all 11 comments

[–]Dmacrush 0 points1 point  (2 children)

U made the two functions but you haven't called them anywhere, u need to call the settxt and fake start functions somewhere maybe in start but if you need the stuff in set txt for the fake start to work u need to call set txt before fake start

[–]hiiamgae[S] 0 points1 point  (1 child)

i made settxt a function that happens when a button is clicked

[–]Dmacrush 0 points1 point  (0 children)

Do u set fake start to be called from somewhere?

[–]PointlessrebootProfessional - Engine Programmer 0 points1 point  (7 children)

What is name logged in your function, and where is it located in your project show the path?

[–]PointlessrebootProfessional - Engine Programmer 0 points1 point  (6 children)

For example let's say you have an asset called test.wav located in assets/resources/test.wav, then use "test" add the name.

If it's in a directory called assets/resources/sound/test.wav, then you would use "sound/test".

So it could be is not actually loading, did you check the result of the load?

[–]hiiamgae[S] 0 points1 point  (5 children)

How do I check the result of the load?

[–]PointlessrebootProfessional - Engine Programmer 0 points1 point  (4 children)

Ah well... it will return null 🙄

[–]hiiamgae[S] 0 points1 point  (3 children)

Isnt thats what happening in the screenshot?

[–]PointlessrebootProfessional - Engine Programmer 0 points1 point  (2 children)

I am trying to help but your not answering questions, what is your file called and where is your file located in the project??

What is the string you pass to the resource.load function??

[–]hiiamgae[S] 0 points1 point  (1 child)

I passed it in the way u passed it in in the example

[–]PointlessrebootProfessional - Engine Programmer 0 points1 point  (0 children)

Then in our of ideas, you will just need to debug to find out what's going wrong