Search Issue Tracker
Fixed in 2022.1.X
Votes
3
Found in
2019.4
2020.1.0f1
2020.2
Issue ID
1265844
Regression
No
EditorUtility.CopySerialized fails when objects assigned to SerializeReference fields have different types
Reproduction steps:
1. Open attached project "CopySerialized.zip" and scene "SampleScene"
2. In Editor menu, click Bug -> Try CopySerialized
3. Observe Console window
Expected result: No error
Actual result: "Source and Destination Types do not match" error
Reproducible with: 2019.4.6f1, 2020.1.0f1, 2020.2.0a19
Could not test with: 2018.4.26f1 (console errors break project)
-
Elfstone
Jul 28, 2020 12:25
Well, this really sucks. I've been trying out this new SerializeReference feature for some days (I didn't when it was still in Experimental), and have run into tons of problems. But this really is not acceptable.
How is this not still in .Experimental when simple CopySerialized won't work!? How could you release it?
If only I had known what to expect from Unity. I should've. I shouldn't even have started.
I am new in this, but look at what I've tried and suffered, not just Shader Graph, SerializeReference.
Asset Store offered solutions a hundred times better than Unity could. Is this your strategy now and ever?
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
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
- Editor freezes when selecting a GameObject in Play Mode with a script containing a public byte array
- Saving moves Toggle Button Group buttons to the wrong place in hierarchy
- [iOS] Visual artifacts are visible when the camera's feed is rendered to a texture
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
Resolution Note (fix version 2022.1):
Fixed inĀ 2022.2.0a3