Search Unity

[Released] Scene Validator

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Jan 24, 2019.

  1. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hey folks, I am super excited to announce this asset release. It's dedicated to making Unity project more organized, clean and prevent bug to go into production.
    9f8601fd-5c16c9c533d14.png
    Every time you IDE detects a potential issue in your code, it generates a warning. And if there is a critical issue in your code, you would not even able to compile. This is what this plugin does for your scenes structure as well. It will raise warning or errors right in the hierarchy encouraging you to fix it. The plugin provides some Default Validation Rules, and what is more important you may create your own.

    There are two types of rules you can create for your scenes. Based on components and based on scene context.

    Rules you create may have an automatic resolution, that can be applied by one click of a button. You also can run auto resolution for an open scene, or run batch scene resolve.

    We also understand that validation can't be precise for all the special cases. That's why there is an ability to "mute" the specific validation rule for a specific component.

    Check out code sample for creating own context-based rule

    The plugin will also update Inspector & Scene UI appearance. All additional setting can be configured inside the Plugin Editor Window.

    Looking forward to hearing your feedback and critics. I am also will be happy to share free vouchers for the first 5 developers who willing to try this asset into their project.
     
  2. therewillbebrad

    therewillbebrad

    Joined:
    Mar 2, 2018
    Posts:
    151
    StackOverflowException
    UnityEngine.Object.EnsureRunningOnMainThread () (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:152)
    UnityEngine.Object.GetInstanceID () (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:73)
    UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:182)
    UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:140)
    UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:403)
    SA.Productivity.SceneValidator.SV_ValidationQueue.ValidateNext () (at Assets/Plugins/StansAssets/Productivity/SceneValidation/Editor/API/SV_ValidationQueue.cs:77)

    Are you familiar with these errors?
     
  3. therewillbebrad

    therewillbebrad

    Joined:
    Mar 2, 2018
    Posts:
    151
    ArgumentException: An item with the same key has already been added. Key: null
    System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    SA.Productivity.SceneValidator.SV_SceneValidator.ValidateGameObject (UnityEngine.GameObject go) (at Assets/Plugins/StansAssets/Productivity/SceneValidation/Editor/API/SV_SceneValidator.cs:192)
    SA.Productivity.SceneValidator.SV_ValidationQueue.ValidateNext () (at Assets/Plugins/StansAssets/Productivity/SceneValidation/Editor/API/SV_ValidationQueue.cs:82)
    SA.Productivity.SceneValidator.SV_ValidationQueue.ValidateNext () (at Assets/Plugins/StansAssets/Productivity/SceneValidation/Editor/API/SV_ValidationQueue.cs:92)
    SA.Productivity.SceneValidator.SV_ValidationQueue.<ValidateNext>b__15_0 () (at Assets/Plugins/StansAssets/Productivity/SceneValidation/Editor/API/SV_ValidationQueue.cs:89)
    UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)

    Also I get this one alot.
     
  4. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Thx for the report, that should be fixed in the next version.