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.

Bug Scene provider doesn't work

Discussion in 'Testing & Automation' started by xXApOXx, Aug 12, 2022.

  1. xXApOXx

    xXApOXx

    Joined:
    Feb 9, 2015
    Posts:
    72
    Hi,

    I'm new to UTF and I run into an issue while testing it. I'm basically reproducing the code from the 2019 Copenhagen showcase and I have this error when my scene provider returns 2 scenes.

    An exception was thrown while loading the test.
    System.ArgumentNullException: pathName
    Parameter name: Argument pathName must not be null
    at NUnit.Framework.Guard.ArgumentNotNull (System.Object value, System.String name) [0x00019] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Guard.ArgumentNotNullOrEmpty (System.String value, System.String name) [0x00001] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Internal.Test..ctor (System.String pathName, System.String name) [0x00008] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Internal.TestSuite..ctor (System.String parentSuiteName, System.String name) [0x0000b] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Internal.ParameterizedFixtureSuite..ctor (NUnit.Framework.Interfaces.ITypeInfo typeInfo) [0x0000d] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.BuildMultipleFixtures (NUnit.Framework.Interfaces.ITypeInfo typeInfo, System.Collections.Generic.IEnumerable`1[T] fixtures) [0x00001] in <10b6135e63434fdba4fc6c109928ab3b>:0
    at NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.BuildFrom (NUnit.Framework.Interfaces.ITypeInfo typeInfo) [0x000b1] in <10b6135e63434fdba4fc6c109928ab3b>:0


    I linked my class file.
    I also linked a gif of the bug occuring in my editor.

    Is it a bug from UTF or I did something wrong?

    Cheers.
     

    Attached Files: