Search Issue Tracker

Fixed in 2018.2



Found in


Issue ID




Unity crashes when applying change to a prefab imported from a UnityPackage

Scene Management


Reproduction steps:
1. Open the attached project
2. Open the "GamePlay" scene
3. Select the "CurlCard" game object in the hierarchy
4. Press apply under 'prefab'

Result: Unity crashes with a message The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!] UnityEditor.DockArea:OnGUI()

Workaround: export the prefab as a unity package, then import it and the crashing doesn't happen anymore, also deleting some missing script references in the editor seems to fix this as well.

I was not able to reproduce this problem in any other project (even using the same exact configuration)

Reproducible on: 5.5.0f3, 5.5.1p2, 5.6.0b7

Tested on Windows 10

Fixed in: 2018.2.0a6

Comments (2)

  1. 19b1bdec1fe18281ea48fe3a443441d8?d=mm


    Sep 28, 2017 09:13

    the issue is also in 5.3.8f1 and exporting and importing prefab as unitypackage did not solve it.

  2. 9718aa61858afde726c10f10232776e3?d=mm


    Jul 12, 2017 16:08

    Check for bad scripts.
    I've solved removing a ScriptableObject that was remaining assigned.

All about bugs

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