Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
10.0.0-preview.27, 9.0.0-preview.33, 8.2.0, 8.1.0, 7.4.1
Issue ID
1268622
Regression
No
[VFX] Changing properties under VFXBasicSpawner Preset which were changed before creating preset causes errors
When the properties under VFXBasicSpawner are changed and then its preset is created and again those values are changed in the Preset file then multiple errors appear in the console, Refer attached video
Steps to repro:
1. Create a new HDRP template project
2. Project window > Create > Visual Effects > Visual Effect Graph > Open
3. Create a node > Spawn(Context) > Select it
4. Inspector > Change the properties value (eg. Loop Duration > Infinite, Delay Mode > After Loop)
5. Create a preset of VFX Basic Spawner
6. Project window > VFXBasicSpawner preset
7. Inspector > Change the properties value (eg. Loop Duration > Random, Delay Mode > Before Loop) )
Actual Result:
Multiple errors are thrown on changing properties value under VFXBasicSpawner preset
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a20, 2020.1.1f1, 2019.4.7f1 with Package version 10.0.0-preview.27, 9.0.0-preview.33, 8.2.0, 8.1.0, 7.4.1
Environment:
Occurring on Windows 10 & Mac 10.15.
Stack trace:
Slot :LoopDuration of ContainerSpawnHas a wrong owner.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)
Slot :LoopCount of ContainerSpawnHas a wrong owner.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)
Slot :DelayAfterLoop of ContainerSpawnHas a wrong owner.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
Preset option will be disabled on all the VFX element.