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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.