Skip to content

Commit 699ff7d

Browse files
authored
Merge branch 'master' into fix_label_config_editor_indexing
2 parents 75c4d45 + e61c5e6 commit 699ff7d

File tree

8 files changed

+44
-22
lines changed

8 files changed

+44
-22
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE.md)
88

99
<img src="https://img.shields.io/badge/unity-2019.4-green.svg?style=flat-square" alt="unity 2019.4">
10-
<img src="https://img.shields.io/badge/unity-2020.3-green.svg?style=flat-square" alt="unity 2020.3">
10+
<img src="https://img.shields.io/badge/unity-2020.2-green.svg?style=flat-square" alt="unity 2020.3">
1111

12-
> com.unity.perception is in active development. Its features and API are subject to significant change as development progresses.
12+
> `com.unity.perception` is in active development. Its features and API are subject to significant change as development progresses.
1313
1414

1515
# Perception Package ([Unity Computer Vision](https://unity.com/computer-vision))

TestProjects/PerceptionHDRP/Packages/packages-lock.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"com.unity.collections": "0.9.0-preview.6",
8282
"com.unity.nuget.newtonsoft-json": "1.1.2",
8383
"com.unity.render-pipelines.core": "7.1.6",
84-
"com.unity.simulation.capture": "0.0.10-preview.20",
84+
"com.unity.simulation.capture": "0.0.10-preview.23",
8585
"com.unity.simulation.client": "0.0.10-preview.10",
8686
"com.unity.simulation.core": "0.0.10-preview.22"
8787
}
@@ -126,11 +126,11 @@
126126
"url": "https://packages.unity.com"
127127
},
128128
"com.unity.simulation.capture": {
129-
"version": "0.0.10-preview.20",
129+
"version": "0.0.10-preview.23",
130130
"depth": 1,
131131
"source": "registry",
132132
"dependencies": {
133-
"com.unity.simulation.core": "0.0.10-preview.22"
133+
"com.unity.simulation.core": "0.0.10-preview.25"
134134
},
135135
"url": "https://packages.unity.com"
136136
},
@@ -142,10 +142,12 @@
142142
"url": "https://packages.unity.com"
143143
},
144144
"com.unity.simulation.core": {
145-
"version": "0.0.10-preview.22",
146-
"depth": 1,
145+
"version": "0.0.10-preview.25",
146+
"depth": 2,
147147
"source": "registry",
148-
"dependencies": {},
148+
"dependencies": {
149+
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
150+
},
149151
"url": "https://packages.unity.com"
150152
},
151153
"com.unity.test-framework": {

TestProjects/PerceptionURP/Assets/Tests/Editor/PerceptionCameraEditorUrpTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public IEnumerator MissingRendererFeature_ProducesLogError()
4242
gameObject.SetActive(false);
4343
gameObject.AddComponent<Camera>();
4444
gameObject.AddComponent<UniversalAdditionalCameraData>();
45-
4645
var perceptionCamera = gameObject.AddComponent<PerceptionCamera>();
4746
gameObject.SetActive(true);
4847
LogAssert.Expect(LogType.Error, "GroundTruthRendererFeature must be present on the ScriptableRenderer associated with the camera. The ScriptableRenderer can be accessed through Edit -> Project Settings... -> Graphics -> Scriptable Render Pipeline Settings -> Renderer List.");

TestProjects/PerceptionURP/Packages/packages-lock.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"com.unity.collections": "0.9.0-preview.6",
8282
"com.unity.nuget.newtonsoft-json": "1.1.2",
8383
"com.unity.render-pipelines.core": "7.1.6",
84-
"com.unity.simulation.capture": "0.0.10-preview.20",
84+
"com.unity.simulation.capture": "0.0.10-preview.23",
8585
"com.unity.simulation.client": "0.0.10-preview.10",
8686
"com.unity.simulation.core": "0.0.10-preview.22"
8787
}
@@ -115,11 +115,11 @@
115115
"url": "https://packages.unity.com"
116116
},
117117
"com.unity.simulation.capture": {
118-
"version": "0.0.10-preview.20",
118+
"version": "0.0.10-preview.23",
119119
"depth": 1,
120120
"source": "registry",
121121
"dependencies": {
122-
"com.unity.simulation.core": "0.0.10-preview.22"
122+
"com.unity.simulation.core": "0.0.10-preview.25"
123123
},
124124
"url": "https://packages.unity.com"
125125
},
@@ -131,10 +131,12 @@
131131
"url": "https://packages.unity.com"
132132
},
133133
"com.unity.simulation.core": {
134-
"version": "0.0.10-preview.22",
135-
"depth": 1,
134+
"version": "0.0.10-preview.25",
135+
"depth": 2,
136136
"source": "registry",
137-
"dependencies": {},
137+
"dependencies": {
138+
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
139+
},
138140
"url": "https://packages.unity.com"
139141
},
140142
"com.unity.test-framework": {
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"MonoBehaviour": {
3+
"Version": 3,
4+
"EnableBurstCompilation": true,
5+
"EnableOptimisations": true,
6+
"EnableSafetyChecks": false,
7+
"EnableDebugInAllBuilds": false,
8+
"UsePlatformSDKLinker": false,
9+
"CpuMinTargetX32": 0,
10+
"CpuMaxTargetX32": 0,
11+
"CpuMinTargetX64": 0,
12+
"CpuMaxTargetX64": 0,
13+
"CpuTargetsX64": 72
14+
}
15+
}

com.unity.perception/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1313

1414
### Added
1515

16-
User can now choose the base folder location to store their generated data.
16+
The user can now choose the base folder location to store their generated datasets.
1717

1818
Added a `projection` field in the capture.sensor metadata. Values are either "perspective" or "orthographic".
1919

2020
### Changed
2121

22-
Changed the JSON serialization key of Normal Sampler's standard deviation property from "standardDeviation" to "stddev". Scenario JSON configurations that were generated using previous versions will need to be manually updated to reflect this change.
22+
Changed the JSON serialization key of Normal Sampler's standard deviation property from "standardDeviation" to "stddev". Scneario JSON configurations that were generated using previous versions will need to be manually updated to reflect this change.
2323

2424
### Deprecated
2525

@@ -35,6 +35,8 @@ Fixed an indexing issue with the IdLabelConfig editor. When a new label was adde
3535

3636
### Known Issues
3737

38+
When using URP in OSX, having MSAA enabled on the camera while the post-processing option is disabled may cause the output RGB images to be blank. As a workaround, you can disable MSAA and use FXAA instead, until the issue is fixed.
39+
3840
### Added
3941

4042
Added support for 'step' button in editor.

com.unity.perception/Runtime/GroundTruth/Labelers/KeypointLabeler.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ private void OnRenderedObjectInfoReadback(int frameCount, NativeArray<RenderedOb
224224
{
225225
include = true;
226226
break;
227-
}
228-
}
227+
}
228+
}
229229

230230
if (!include && objectFilter == KeypointObjectFilter.VisibleAndOccluded)
231231
include = keypointSet.Value.keypoints.Any(k => k.state == 1);
232-
}
232+
}
233233
if (include)
234234
m_KeypointEntriesToReport.Add(entry);
235235
}
@@ -617,4 +617,4 @@ KeypointJson TemplateToJson(KeypointTemplate input)
617617
return json;
618618
}
619619
}
620-
}
620+
}

com.unity.perception/Tests/Editor/PerceptionCameraEditorTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using Moq;
1313
using Moq.Protected;
1414
using UnityEngine.Rendering;
15-
1615
#endif
1716

1817
namespace EditorTests
@@ -205,8 +204,11 @@ static GameObject SetupCamera(Action<PerceptionCamera> initPerceptionCameraCallb
205204
var camera = cameraObject.AddComponent<Camera>();
206205
camera.orthographic = true;
207206
camera.orthographicSize = 1;
207+
208208
#if HDRP_PRESENT
209209
cameraObject.AddComponent<UnityEngine.Rendering.HighDefinition.HDAdditionalCameraData>();
210+
#elif URP_PRESENT
211+
cameraObject.AddComponent<UnityEngine.Rendering.Universal.UniversalAdditionalCameraData>();
210212
#endif
211213

212214
var perceptionCamera = cameraObject.AddComponent<PerceptionCamera>();

0 commit comments

Comments
 (0)