Ref<Object> error

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

just this

Ref<Object> object;

makes this

godot-cpp-master\include\godot_cpp/classes/ref.hpp(215): error C2039: 'unreference': is not a member of 'godot::Object'
godot-cpp-master\gen\include\godot_cpp/classes/object.hpp(51): note: see declaration of 'godot::Object'
godot-cpp-master\include\godot_cpp/classes/ref.hpp(214): note: while compiling class template member function 'void godot::Ref<godot::Object>::unref(void)'
godot-cpp-master\include\godot_cpp/classes/ref.hpp(228): note: see reference to function template instantiation 'void godot::Ref<godot::Object>::unref(void)' being compiled
D:\THINGSSSS!!!!\GODOT BUT C++\oscillator\src\Header1.h(67): note: see reference to class template instantiation 'godot::Ref<godot::Object>' being compiled
godot-cpp-master\include\godot_cpp/classes/ref.hpp(215): error C2039: 'unreference': is not a member of 'godot::Object'
godot-cpp-master\gen\include\godot_cpp/classes/object.hpp(51): note: see declaration of 'godot::Object'
godot-cpp-master\include\godot_cpp/classes/ref.hpp(214): note: while compiling class template member function 'void godot::Ref<godot::Object>::unref(void)'
godot-cpp-master\include\godot_cpp/classes/ref.hpp(228): note: see reference to function template instantiation 'void godot::Ref<godot::Object>::unref(void)' being compiled
D:\THINGSSSS!!!!\GODOT BUT C++\oscillator\src\Header1.h(67): note: see reference to class template instantiation 'godot::Ref<godot::Object>' being compiled

please help

:bust_in_silhouette: Reply From: QonDonion

https://www.reddit.com/r/godot/comments/kqwtm5/gdnative_refmeshinstance/