So for some reason when activating Rapier2D i got a lot of errors in the thread, most of them was because u cant change most of the main things if ur not on the main thread
so i fixed most of my errors but still keeps giving me this specifi error
E 0:00:19:0583 set_canvas_transform: This function in this node (/root) can only be accessed from the main thread. Use call_deferred() instead.
<Erro C++> Condition "is_inside_tree() && !is_current_thread_safe_for_nodes()" is true.
<Origem C++> scene/main/viewport.cpp:1130 @ set_canvas_transform()
cant find any solution and feels like its a problem in the engine itself, but their github doesnt have any issue with that
in the long run makes impossible to see the depurator errors cuz in 1 minute has like 40k errors