curves started being null for no visible reason

Godot Version

4.6

Question

how can i fix this

try removing @export, maybe making the var into a const if you are using preload anyways.

i tried removing export and a few other things which didnt work, but(before this post uploaded) i enabled local to scene on the curves and they started working like before.

it doesnt make sence especially because after, i made a new curve that has local to scene off but it works anyway while the others didnt