Search Issue Tracker
Fixed in 5.6.0f3
Votes
9
Found in
5.3.5f1
Issue ID
805654
Regression
No
Importing a package in Force Text Asset Serialization Mode that was exported in Mixed Mode results bad string variables
How to reproduce:
1. Create a new project
2. Go to Edit -> Project Settings -> Editor and set the Asset Serialization Mode to Force Text.
3. Import the Package.unitypackage from the attached project "AssetSerializationBug.zip".
4. Open the scene "Example".
5. Select MainCamera and notice how string variables become gibberish. The script attached to it was exported in mixed asset serialization mode and was "Hello World!"
Expected result: The strings variables should not become gibberish
Actual result: The string variables become gibberish
Note:
The bug does not occur with 5.6 or more recent
Reproducible with: 5.2.4f1, 5.3.5f1, 5.4.0b22, 5.4.5p2, 5.5.3p3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
azix
Mar 03, 2017 14:47
Can be reproduced in Unity 5.5.2
RedGreenBlue
Jul 27, 2016 15:13
This could be considered as a Regression bug. The problem does not happen in the 4.x versions of Unity, for example, version 4.7.2f1 works correctly. However, the bug can be reproduced in all the 5.x versions of Unity since 5.0.0
Kondratov
Jul 14, 2016 21:32
Same problem for me.
Steps to reproduce:
1) Create new project.
2) Create script:
using UnityEngine;
public class Test : MonoBehaviour
{
public string Text;
}
3) Crate cube at scene;
4) Attach script as behavior;
5) Type 'something' to Text field;
6) Save scene, save project;
7) Export scene to *.unitypackage
8) Close unity.
9) Create new project;
10) Go to Edit->ProjectSettings->Editor, and set Version control Mode: Visible meta files, Asset serialization mode: ForceText
11) Import package from step 7;
Result: Text 'something' turns to '536f6d6554657874313233'
Expected: Want to see 'something' in Text field.