Search Issue Tracker
By Design
Votes
0
Found in [Package]
2.0.0a14
Issue ID
UVSB-955
Regression
No
Mutiple Update and Start functions in C# Preview
Removing the Start and Update functions from your graph, then re-add them will cause the C# Preview to add another Update and Start function.
Start and Update appear as normal in the graph but the C# Preview will have Start(), Start1(), Update(), Update1().
Any new nodes added to the graph will appear under Start1(), Update1().
Expected: There should only be mono behavior per script Start(), Update(), etc...
Steps to reproduce
- Create a Bolt component on a game object
- Add a flow graph
- Open the C# preview (Window > Bolt C# Preview)
- Remove the Start and Update nodes from your graph
- Add the Start and Update back into your graph
Notice Issue >> Start1() and Update1() are added to the C# preview along with Update() and Start()
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Resolution Note:
It seems this is how Bolt 2 handles multiple graphs under the same class.