Search Issue Tracker

Active

Votes

0

Found in [Package]

2.0.0a5

Issue ID

BOLT-772

Regression

No

Instantiate prefab - no script running on ios

Package: Bolt

-

[Original Issue|https://support.ludiq.io/communities/5/topics/3902-instantiate-prefab-no-script-running-on-ios] - Pending Review
----
Hello,

Bug that seems related with prefab.

1. Create a 2D sprite "Flight" - Create a prefab from it
2. Create an empty game Object "Board" and attach a flow machine that instantiates 2 "Flights".

!https://support.ludiq.io/s/attachments/21929/5/2193/136a5d40d757997c97d7e64a0fee3152.png|width=223,height=263!

3. Open "Flight" prefab and attach a flow machine that change positions of "flights" at start.

!https://support.ludiq.io/s/attachments/21929/5/2193/e80d73056643985d10734e55245fde6d.png|width=124,height=174!

4. Generate C# scripts : "Script generation succeeded. 2 graphs were converted to C#".
5. Build for iOS : 

!https://support.ludiq.io/s/attachments/21929/5/2193/12076fe9b32b3dff9be38083438d949e.png|width=641,height=32!

6. Start project on XCode (10.1)
7. Building on iOS iphone
8. The 2 instiantiated objects stay at the position provided in instantiate. The script with "local position don't work".
- It's the same result if I had a cooldown between "start" and "local Position" or if I try to do other things on the Flight prefab script.
- But, if I put the prefab directly in the scene. The script works.

Thx,
Vincent
 
Bolt Version:
2.0.0a5
Unity Version:
2018.3.9f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.