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
- UI Source Image property gets set to 'None' when using a specific Sprite and Play mode is entered
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
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