get_bus_effect_instance returns null instance

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

Exactly what I said in the header.

onready var spectrum = AudioServer.get_bus_effect_instance(0, 0)

func _process(_delta):
print(spectrum)

this code prints me [Object:null] in the log

My bus layout:

Also streamplayer assigned to master bus:
enter image description here

:bust_in_silhouette: Reply From: -Mappleaf

It’s… Worked? I’m just restarted engine and IT WORKS!