Thank you again for the reply.
When I said I have checked the isInitialized was true I didnt put it at the beginning, I put it on Update so I can check every frame and I get allways true, not a single false. Either way I have used the coroutine you told me to check it and makes no difference. I dont wait to create the arrow because the arrow is already created on a prefab, not by code.
Whats even weirder is it worked as intended with previous versions of Unity, but only on scene mode, never on a compiled build. With the latter versions I have the same problem in scene mode, game mode and compiled build.
I also create a simplified version for anyone who can help me, you will get lots of warnings for other reasons (mostly because other assets, you can ignore them) but no crashes. To see the spline you have a card launcher on the middle botton on the screen, click on the card of the top to begin the launch and drag to create a path (with your spline asset). Release to throw the card and again the mouse button to retrieve de card. I think thats all you need to check the problem.
If you have any doubt dont hesitate to ask. Thank you so much in advance
When I said I have checked the isInitialized was true I didnt put it at the beginning, I put it on Update so I can check every frame and I get allways true, not a single false. Either way I have used the coroutine you told me to check it and makes no difference. I dont wait to create the arrow because the arrow is already created on a prefab, not by code.
Whats even weirder is it worked as intended with previous versions of Unity, but only on scene mode, never on a compiled build. With the latter versions I have the same problem in scene mode, game mode and compiled build.
I also create a simplified version for anyone who can help me, you will get lots of warnings for other reasons (mostly because other assets, you can ignore them) but no crashes. To see the spline you have a card launcher on the middle botton on the screen, click on the card of the top to begin the launch and drag to create a path (with your spline asset). Release to throw the card and again the mouse button to retrieve de card. I think thats all you need to check the problem.
If you have any doubt dont hesitate to ask. Thank you so much in advance