浏览代码

Merge pull request #106 from Unity-Technologies/empty-first-frame-on-usim-fix

Fixed Unity Simulation nodes generating an empty first image
/main
GitHub 4 年前
当前提交
092c0197
共有 5 个文件被更改,包括 10 次插入4 次删除
  1. 2
      .yamato/environments.yml
  2. 2
      .yamato/promote.yml
  3. 4
      .yamato/upm-ci-full.yml
  4. 2
      com.unity.perception/CHANGELOG.md
  5. 4
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs

2
.yamato/environments.yml


standalone-platform: StandaloneOSX
- name: ubuntu
type: Unity::VM
image: package-ci/ubuntu:latest
image: package-ci/ubuntu:stable
flavor: b1.large

2
.yamato/promote.yml


UPMCI_PROMOTION: 1
commands:
- git submodule update --init --recursive
- npm install upm-ci-utils -g --registry {{ upmci_registry }}
- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package test -u {{ editor.version }} --package-path ./com.unity.perception --type vetting-tests
artifacts:
logs:

4
.yamato/upm-ci-full.yml


flavor: b1.large
commands:
- git submodule update --init --recursive
- npm install upm-ci-utils -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package pack --package-path ./com.unity.perception/
artifacts:
packages:

flavor: {{ platform.flavor}}
commands:
- git submodule update --init --recursive
- npm install upm-ci-utils -g --registry {{ upmci_registry }}
- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package test -u {{ editor.version }} --package-path ./com.unity.perception --type vetting-tests
artifacts:
logs:

2
com.unity.perception/CHANGELOG.md


USimScenario now correctly deserializes app-params before offsetting the current scenario iteration when executing on Unity Simulation
Fixed Unity Simulation nodes generating one extra empty image before generating their share of the randomization scenario iterations
## [0.5.0-preview.1] - 2020-10-14
### Known Issues

4
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs


foreach (var randomizer in m_Randomizers)
randomizer.Create();
ValidateParameters();
// Don't skip the first frame if executing on Unity Simulation
if (Configuration.Instance.IsSimulationRunningInCloud())
m_SkipFrame = false;
}
void OnEnable()

正在加载...
取消
保存