Skip to content

Commit a4da870

Browse files
authored
Merge pull request #194 from Unity-Technologies/fix-usim-iteration-offset
Fixed Unity Simulation per instance iteration offset
2 parents 52b03e0 + 5426d0b commit a4da870

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

com.unity.perception/CHANGELOG.md

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

2222
### Fixed
2323

24+
Fixed the math offsetting the iteration index of each Unity Simulation instance directly after they deserialize their app-params
25+
2426
## [0.7.0-preview.1] - 2021-02-01
2527

2628
### Upgrade Notes

com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenario.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected sealed override void IncrementIteration()
3030
public sealed override void DeserializeFromFile(string configFilePath)
3131
{
3232
base.DeserializeFromFile(configFilePath);
33-
currentIteration = constants.instanceIndex * constants.instanceCount;
33+
currentIteration = constants.instanceIndex;
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)