RonYanDaik

Results 34 comments of RonYanDaik

> UtilityFunctions::weakref() > Does that work for you? I've seen it before. but i think it wasn't working. I will test it again. Thank you.

_UtilityFunctions::weakref()_ returns a _Variant_. And _WeakRef_ class has no **operator=** so it cannot be assigned to a stored _WeakRef_ variable. I feel like having operator= for this class is crucial.

> Are you perhaps using a `WeakRef` variable instead of `Ref`? I just tried the second and it works fine. I didn't know about `Ref`. Probably because I was expecting...

Its 4.0.x. Not 4.1. I think I've updated it a mount ago or so.

I've just switched both to master branch (4.1) and got same error: ![image](https://github.com/godotengine/godot-cpp/assets/3350340/44d695ca-8ce4-440e-a36c-64c50f357a5d) but this time it crashed because of: ![image](https://github.com/godotengine/godot-cpp/assets/3350340/892561ca-086e-4944-9fdb-0ea39e9ff016)

I've updated to godot 4.1 godot commit: https://github.com/godotengine/godot/pull/77578 godot-cpp: https://github.com/godotengine/godot-cpp/pull/1113 I've cleaned and recompiled and some functions in _Curve3D_ are missing. Now _sample_baked_ cant be found also.

> by running this command with the godot version Thanks! That worked. Only _extension_api.json_ is located inside _godot-cpp\gdextension_ Maybe simple adding bat file with instructions will be good idea.

I see why its missing. Struct Point is unexposed. I had to recreate function like this: ``` class Gradient2 : public Gradient { GDCLASS(Gradient2 , Gradient) public: static void _bind_methods(){};...