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

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.