浏览代码

Merge pull request #97 from Unity-Technologies/0.5.0-staging

Disabled 2020.1 tests for 0.5.0 release
/main
GitHub 4 年前
当前提交
fd7d77e7
共有 4 个文件被更改,包括 7 次插入2 次删除
  1. 2
      .yamato/environments.yml
  2. 4
      com.unity.perception/CHANGELOG.md
  3. 2
      com.unity.perception/Documentation~/Tutorial/Phase1.md
  4. 1
      com.unity.perception/Tests/Editor/DatasetCaptureEditorTests.cs

2
.yamato/environments.yml


complete_editors:
- version: 2019.4.6f1
- version: 2020.1.3f1
# - version: 2020.1.3f1
# - version: 2020.2.0a21
publish_platforms:

4
com.unity.perception/CHANGELOG.md


## [0.5.0-preview.1] - 2020-10-14
### Known Issues
Creating a new 2020.1.x project and adding the perception package to the project causes a memory error that is a [known issue in 2020.1 editors](https://issuetracker.unity3d.com/issues/wild-memory-leaks-leading-to-stackallocator-walkallocations-crashes). Users can remedy this issue by closing and reopening the editor.
### Added
Added Randomizers and RandomizerTags

2
com.unity.perception/Documentation~/Tutorial/Phase1.md


### <a name="step-1">Step 1: Download Unity Editor and Create a New Project</a>
* **Action**: Navigate to [this](https://unity3d.com/get-unity/download/archive) page to download and install the latest version of Unity Editor 2020.1.x. (The tutorial has not yet been tested on newer versions.)
* **Action**: Navigate to [this](https://unity3d.com/get-unity/download/archive) page to download and install the latest version of **Unity Editor 2019.4.x**. (The tutorial has not yet been fully tested on newer versions.)
An alternative approach is to first install [_**Unity Hub**_](https://unity3d.com/get-unity/download), which will allow you to have multiple versions of Unity on your computer, and make it easier to manage your Unity projects and the versions of Unity they will use.

1
com.unity.perception/Tests/Editor/DatasetCaptureEditorTests.cs


public IEnumerator SimpleData_GeneratesFullDataset_OnExitPlaymode()
{
yield return new EnterPlayMode();
DatasetCapture.ResetSimulation();
var ego = DatasetCapture.RegisterEgo("ego");
var sensor = DatasetCapture.RegisterSensor(ego, "camera", "", 0.1f, 0);
sensor.ReportCapture("file.txt", new SensorSpatialData());

正在加载...
取消
保存