Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0b9

Issue ID

642305

Regression

Yes

Public enum fields throw serialization errors on WSA platform

Windows Store Apps

-

Steps to reproduce:
1. Download and deploy attached project to WSA or WP8.1 platform
2. Application will crash on WP8.1 and report exceptions on WSA platform. Looking at log this line will be visible:
The file 'C:/Data/SharedData/PhoneTools/AppxLayouts/9c70f5d7-1662-4d28-a9a7-76868752f612VS.Debug_ARM.Name/Data/mainData' is corrupted! Remove it and launch unity again!
[Position out of bounds!]

(Filename: C:/buildslave/unity/build/Runtime/Serialize/SerializationCaching/CachedReader.cpp Line: 234)

The reproduction project contains a scene with a gameobject which has component attached:
public enum Foo
{
A,
B,
C,
}
public class Bar : MonoBehaviour
{
public Foo jimmy;
}

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.