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
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;
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visible instance buffer returns 0 for every instance when using BatchDrawCommandIndirect on Adreno devices with Vulkan API
- [Android][Vulkan] Native crash in AndroidVulkanVideo::ProcessFrame and AndroidVulkanVideo::Context::~Context() when switching screens
- Screen brightness is not set to a default value when Screen.brightness is set to a negative value
- macOS app window title is not localized when built from generated Xcode project
- Unity Hub doesn't preserve the changed Channel when manually restarting the Hub
Add comment