Merge pull request #13 from Unity-Technologies/exception-error-fix
IndexOutOfRangeException error fix
This commit is contained in:
Коммит
bc84bf4b04
|
@ -259,7 +259,7 @@ unsafe public class ForegroundObjectPlacer : JobComponentSystem
|
|||
// If it can’t be placed within the scene due to violations of the cropping or overlap
|
||||
// constraints we stop processing the current foreground scene
|
||||
// and start with the next one.
|
||||
} while (placedSuccessfully && PlaceObjects.Length < NativePlacementStatics.MaxForegroundObjects);
|
||||
} while (placedSuccessfully && PlaceObjects.Length < NativePlacementStatics.MaxForegroundObjects && CurriculumStatePtr->ScaleIndex < NativePlacementStatics.ScaleFactors.Length);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ public class ProjectInitialization : MonoBehaviour
|
|||
#endif
|
||||
Manager.Instance.ShutdownNotification += CleanupState;
|
||||
|
||||
PerceptionCamera.renderedObjectInfosCalculated += OnRenderedObjectInfosCalculated;
|
||||
//PerceptionCamera.renderedObjectInfosCalculated += OnRenderedObjectInfosCalculated;
|
||||
}
|
||||
|
||||
static bool TryGetAppParamPathFromCommandLine(out string appParamPath)
|
||||
|
|
Загрузка…
Ссылка в новой задаче