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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Resolution Note:
Reported to Asset Store publisher.