Search Issue Tracker
Fixed
Fixed in 1.0.12
Votes
0
Found in [Package]
1.0.11
Issue ID
BEHAVB-331
Regression
No
SwitchComposite GC.Alloc every OnStart
Steps to reproduce:
- Create a new graph, a new enum and a Switch node
- Create a BBV for the enum and assign it to the Switch node
- Connect the Switch node to the Start node, and create and connect a LogMessage to the first Switch port.
- Attach the graph to a GameObject
- Enter playmode and profile the code (Profiler, Deep Profile mode, GC and Timeline markers)
\\
Actual results:
- Observe that SwitchComposite is creating GC.Alloc every frame
Expected results:
- SwitchComposite doesn't GC.Alloc every frame.
\\
Reproducible with versions:
1.0.0 - 1.0.11
\\
Notes:
- SwitchComposite should cache enum value the first time.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”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
Add comment