浏览代码

Fix NullReferenceException on project startup in 2019.3.14f1

/fix_startup_exception
Jon Hogins 4 年前
当前提交
96ea390b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 5
      com.unity.perception/Tests/Runtime/GroundTruthTests/SimulationManagerTests.cs

5
com.unity.perception/Tests/Runtime/GroundTruthTests/SimulationManagerTests.cs


filename = "metric_definitions.json";
jsonContainerName = "metric_definitions";
}
var additionalInfoString = (additionalInfoKind == AdditionalInfoKind.Annotation ? @"
""format"": ""json""," : null)
var annotationDefinitionsJsonExpected =
$@"{{

""id"": <guid>,
""name"": ""name"",{(additionalInfoKind == AdditionalInfoKind.Annotation ? @"
""format"": ""json""," : null)}
""name"": ""name"",{additionalInfoString}
""spec"": [
{{
""label_id"": 1,

正在加载...
取消
保存