Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.3.0a6
2019.1.0a4
Issue ID
1089459
Regression
Yes
Prefab loses references if compile error is triggered during import
Repro steps:
- download the Skeleton_GoodScript.unitypackage
- start a new proj with 2018.3.0b5 or trunk
- import this package to the new proj
- you'll notice that the compiler will complain about some dlls:
Microsoft (R) Visual C# Compiler version 2.7.0.65535 (ced8f62d)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\prototypes\66\Assets\uMMORPG\Plugins\SQLite\sqlite_common\System.Data.dll' and 'C:\Program Files\Unity 2018.3.0a9\Editor\Data\NetStandard\compat\2.0.0\shims\netfx\System.Data.dll'. Remove one of the duplicate references.
- switch to .NET 3.5 (Legacy) to get rid of those errors
- look at the Demo scene - there's a Skeleton there -> the skeleton would have lost all its prefab references and there will be navmesh errors in the console
Workaround: re-import the prefab
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment