Invalid call. Nonexistent function 'steamInit' in base 'Node (steam.gd)'.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ImTooLazy

Invalid call. Nonexistent function ‘steamInit’ in base ‘Node (steam.gd)’.

:bust_in_silhouette: Reply From: godot_dev_

The error is saying the node with the steam.gd script does not have a steamInitfunction implemented. Make sure steam.gdhas steamInit implemented.

I can’t help any more due to the lack of context and information you provided.

First of all, steam.init() is different than steamInit(), the former implies you have a variable named steam and you are calling its init function, while steamInit() is a function name. If you want your stream.gd script to implement a init() function, simple add the below to stream.gd:

func init():
    pass #here is where you put the logic

godot_dev_ | 2023-04-17 15:34