Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unable to create new profile from volume component

Discussion in 'Universal Render Pipeline' started by darthbator, Sep 2, 2020.

  1. darthbator

    darthbator

    Joined:
    Jan 21, 2012
    Posts:
    169
    When I try and create a new Volume profile from the volume component in my project I get the following error.


    NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
    UnityEditor.SerializedProperty.set_objectReferenceValue (UnityEngine.Object value) (at <701f6580abad44cfb237a543dcd0d94b>:0)
    UnityEditor.Rendering.VolumeEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.render-pipelines.core@8.2.0/Editor/Volume/VolumeEditor.cs:145)
    UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <701f6580abad44cfb237a543dcd0d94b>:0)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


    I need to duplicate my existing config and then assign it manually. I've tried reinstalling URP and renewing my config files. Does anyone have an idea of what might be going on here? Thanks!
     
  2. iupendra

    iupendra

    Joined:
    Feb 21, 2019
    Posts:
    6
    Have you solved this problem? i'm having the same right now
     
  3. iupendra

    iupendra

    Joined:
    Feb 21, 2019
    Posts:
    6
    ohh now i get it. it was a bug, i just upgraded to latest version of unity now it has been fixed
     
  4. darthbator

    darthbator

    Joined:
    Jan 21, 2012
    Posts:
    169
    What version of Unity are you using? I'm assuming this has something to do with upgrading either Unity versions or URP versions. I never saw this behavior in a new project it's only this one project that I have where I see the issue.