Search Issue Tracker

Third Party Issue

Votes

0

Found in [Package]

4.0.0

Issue ID

1408200

Regression

No

[Adaptive Performance] Samples have errors on import

Package: Adaptive Performance

-

Reproduction steps:
1. Create a new project
2. Import Adaptive Performance package using the Package Manager
3. Import Bottleneckor Boost Sample (read note below) using the package manager (will appear in AP package after installation)
4. Inspect the Console

Expected result: there are no errors
Actual result: missing namespace errors are thrown

Reproducible with: 4.0.0 (2021.2.15f1, 2022.1.0b11, 2022.2.0a7)
Could not test with: 2019.4.36f1, 2020.3.29f1 (other errors)

Note: similar issues occur with all other Samples, the issue is caused because the Environment sample, was not installed previously, and the Samples use assets from the Environment Sample, but do not have it as a dependency during Import

Errors:
Assets\Samples\Adaptive Performance\4.0.0\Bottleneck\BottleneckControl.cs(18,5): error CS0246: The type or namespace name 'SampleFactory' could not be found (are you missing a using directive or an assembly reference?)
Assets\Samples\Adaptive Performance\4.0.0\Bottleneck\BottleneckControl.cs(33,5): error CS0246: The type or namespace name 'BottleneckUI' could not be found (are you missing a using directive or an assembly reference?)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.