Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
0
Found in
2017.1.0p4
Issue ID
946068
Regression
Yes
SkinnedMeshRenderer property sharedMesh is null when created via script
Reproduction steps:
1. Download project "TestProject.zip" and open in Unity
2. Open scene "testscene"
3. Enter Play mode
Expected: SkinnedMeshRenderer property sharedMesh should be initialized
Actual: code line "newSkinnedMeshRenderer.sharedMesh = new Mesh();" triggers error in Unity console:
"SkinnedMeshRenderer: Trying to set a mesh ("") that is unfit for use with SkinnedMeshRenderer. Most likely it doesn't have Skin information and/or is only assigned to the renderer during runtime, in which case Unity isn't aware of its use with SkinnedMeshRenderer. Mark the mesh as Readable or assign it to the renderer in the Editor before building.
UnityEngine.SkinnedMeshRenderer:set_sharedMesh(Mesh)"
Reproduced on: 2017.1.0p4; 2017.1.1f1; 2017.2.0b9; 2017.3.0a6
Not reproduced on: 5.5.4p4; 5.6.3p2; 2017.1.0f3; 2017.1.0p3
Regression started: 2017.1.0p4
Fixed on: 5.6.3p3; 2017.1.1f1
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Chodu
Jan 09, 2018 02:27
Fixed in 2017.3.0f3
Next_Munich
Dec 04, 2017 12:55
Same here version: 2017.2.0f3
kzyma650
Dec 04, 2017 12:48
Not fixed in 2017.2.0f3
Someone already stated above, but any Workaround?
AsoraX
Dec 03, 2017 04:26
Not fixed in 2017.2.0f3 -.-
Any Workaround?
zrf2112
Nov 27, 2017 11:17
this bug has been fixed in Unity2017.2.0p1,see this:
https://unity3d.com/cn/unity/qa/patch-releases?version=2017.2
JayFloyd
Nov 02, 2017 22:40
When is a fix going to be issued for this in 2017.2.0f3? Tested with UMA crowd example scene.
nosajtevol
Oct 27, 2017 21:17
Still not fixed! Broke the skinned mesh combiner script in Unity Anima 2D
Shane8th
Oct 23, 2017 05:54
Still broken in 2017.2.0f3
imranmouna
Oct 22, 2017 15:36
This is still a problem in 2017.2, but is not is 2017.1.0f3
megatonmedia
Oct 19, 2017 04:30
Still Broken is 2017.2. Not fixed