Search Issue Tracker
Fix In Review
Fix In Review for 6000.6.0a2
Votes
0
Found in
6000.4.0b11
6000.5.0a8
6000.6.0a1
Issue ID
UUM-136318
Regression
Yes
“Use as Template” allows converting VFX Asset in Play Mode as a Template
Steps to reproduce:
1. Create new Unity project using HDRP 3D Template
2. In Project window create VFX Asset
3. Enter Play Mode
4. Select created VFX Asset
5. In Inspector window check “Use as Template” checkbox
6. Observe the Console
Actual results: Selected VFX Asset in Play Mode can be converted to a Template
Expected results: Selected VFX Asset in Play Mode cannot be modified or converted to a Template
Reproducible with versions: 6000.4.0a2 (79bd4f638ac0), 6000.4.0b11, 6000.5.0a8
Not reproducible with versions: 6000.3.10f1, 6000.4.0a1 (b27b8eafe426)
Tested on (OS): macOS Silicon Tahoe 26.3 (M1)
Notes:
When converting VFX Asset to a Template in Play Mode only in 6000.5.0a8, error is thrown in the Console:
{code:java}
Exception: AssetDatabase.ForceReserializeAssets cannot be used when in play mode
UnityEditor.AssetDatabase.ForceReserializeAssets (System.Collections.Generic.IEnumerable`1[T] assetPaths, UnityEditor.ForceReserializeAssetsOptions options) (at /Users/bokken/build/output/unity/unity/Modules/AssetDatabase/Editor/ScriptBindings/AssetDatabase.bindings.cs:959)
VisualEffectAssetEditor+<>c__DisplayClass53_0.<CreateInspectorGUI>b__1 (UnityEditor.SerializedObject x) (at ./Library/PackageCache/com.unity.visualeffectgraph@629e71309143/Editor/Inspector/VFXAssetEditor.cs:720)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation+<>c__DisplayClass10_0.<TrackSerializedObjectValue>b__0 (System.Object e, UnityEditor.SerializedObject o) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/Bindings/DefaultSerializedObjectBindingImplementation.cs:224)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContextUpdater.OnUpdate (UnityEngine.UIElements.BindingContext& context) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/Bindings/SerializedObjectBindingContextUpdater.cs:84)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContextUpdater.Update (UnityEngine.UIElements.BindingContext& context) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/Bindings/SerializedObjectBindingContextUpdater.cs:65)
UnityEngine.UIElements.BindingUpdater.UpdateUI (UnityEngine.UIElements.BindingContext& context, UnityEngine.UIElements.CustomBinding customBinding) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Bindings/BindingUpdater.cs:190)
UnityEngine.UIElements.BindingUpdater.UpdateUI (UnityEngine.UIElements.BindingContext& context, UnityEngine.UIElements.Binding bindingObject) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Bindings/BindingUpdater.cs:123)
UnityEngine.UIElements.VisualTreeDataBindingsUpdater.Update () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Bindings/VisualTreeDataBindingUpdater.cs:225)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualTreeUpdater.cs:146)
UnityEngine.UIElements.Panel.UpdateDataBinding () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1487)
UnityEngine.UIElements.Panel.TickSchedulingUpdaters () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1506)
UnityEngine.UIElements.UIElementsUtility.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:297)
UnityEditor.RetainedMode.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:43)
{code}
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.6.0a2):
Fixed in 6000.6.0a2