Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0a1

2018.1.0a1

2018.2.0a1

2018.4.0a1

2019.1.0a1

2019.2.0a1

2019.3.0a1

2019.3.0a3

Issue ID

1156417

Regression

No

Reference issues importing Standard Assets AFTER importing Low Poly Animated Animals assets

Asset Importers

-

Reference issues importing Standard Assets AFTER importing Low Poly Animated Animals assets

After having imported the Asset Store pack "Low Poly Animated Animals," and then importing the "Standard Asset" pack, reference issues have been introduced which block compilation. The errors note the following types:

Assets\Standard Assets\Editor\Water\Water4\SpecularLightingEditor.cs(6,26): error CS0246: The type or namespace name 'SpecularLighting' could not be found
Assets\Standard Assets\Editor\Water\Water4\GerstnerDisplaceEditor.cs(8,26): error CS0246: The type or namespace name 'GerstnerDisplace' could not be found
Assets\Standard Assets\Editor\Water\Water4\PlanarReflectionEditor.cs(7,26): error CS0246: The type or namespace name 'PlanarReflection' could not be found
Assets\Standard Assets\Editor\Water\Water4\WaterBaseEditor.cs(7,26): error CS0246: The type or namespace name 'WaterBase' could not be found

However, these classes can be located within the same project, defined within the same namespace. There is no helpful indication as to why they are not linking or other errors thrown. If the "Sample Assets" are imported FIRST, these reference errors will not occur at all. This seems to happen because "Low Poly Animated Animals" has some embedded resources from "Standard Assets". It looks like the import process is doing something to try to manage the duplication, however in this case it cannot do so gracefully. The issue can be corrected by removing the remaining classes of the "Water" assets which are installed into the "Standard Assets" folder (not the "Low Poly Animated Animals" folder) in the asset filesystem.

Steps to Reproduce:
1- Create a new project (issue has been reproduced as early as 2017.4)
2- Asset Store > Locate "Low Poly Animated Animals" assets > Download > Import
3- Assert Store > Locate "Standard Assets" > Download > Import
4- Observe reference errors
5- Observe the assets installed into the project filesystem, noting the Standard Assets copied both into the "Low Poly Animated Animals" and "Standard Asset" folders.
6- In a new project, inspect the contents of the "Low Poly Animated Animals" and "Standard Asset" packs individually, comparatively noting how the import process is trying to resolve the duplication in the Water related Standard Asset resources

  1. Response avatar

    Resolution Note:

    Reported to Asset Store publisher.

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.