Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.3f1
Issue ID
896323
Regression
No
Prefab with script looses its assigned values when getting latest revision of prefab and script attached to it from external VCS
To reproduce:
1. Set up perforce external control system.
2. As a root workspace use users attached project (in zip file New Unity Project folder).
3. Open Unity and open this project.
4. Disable auto refresh in Edit->Preferences
5. Update prefab file and script in perforce client ( use new prefab and script from folder Assets_FromPerforce)
6. Switch to Unity and make refresh.
7. Notice that prefabs second value is set to scripts value (70) but not to prefabs assigned value (2)
8. Restart Unity
9. Notice that prefabs second value is set to correct value (2).
To reproduce without even using Perforce or other version control system:
1. Open the "New Unity Project" project in Unity.
2. Disable auto refresh in Edit->Preferences
3. Overwrite the folders located in the project directory with the ones from Assets_FromPerforce.
4. Switch to Unity and refresh the Asset directory.
5. Notice that prefabs second value is set to scripts value (70) but not to prefabs assigned value (2)
6. Restart Unity
7. Notice that prefabs second value is set to correct value (2).
Reproduced on: 5.4.3f1, 5.5.0f3, 5.5.2f1, 5.6.0f3
Not reproducible with new prefab workflow: https://unity3d.com/prefabs
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment