09-04-2021, 11:54 AM
(09-04-2021, 11:39 AM)josemendez Wrote:oooh! thanks! i think i fixed it ! thank you so much! im kind of new to unity so i do this kind of mistakes.Code:blueprint.Generate();
This is a coroutine (as evidenced by its IEnumerator return type). Like all coroutines, you need to use StartCoroutine() and wait for it to finish. Calling it directly like in your code does nothing. From the code samples found in the manual page I linked to in the previous message:
Code:yield return StartCoroutine(blueprint.Generate());
Also, see:
https://docs.unity3d.com/Manual/Coroutines.html
cheers,
Is there a way to actually save the generated blueprint ?