Search Issue Tracker

Fixed in 2017.2.0f3

Fixed in 2017.1, 2017.2

Votes

0

Found in

2017.1.0p4

Issue ID

946068

Regression

Yes

SkinnedMeshRenderer property sharedMesh is null when created via script

Graphics - General

-

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

Comments (16)

  1. D9ee85c4932d79953860ef19e27235b7?d=mm

    ecurtz

    Oct 13, 2017 19:16

    This is NOT fixed in 2017.2 - why isn't there a way to mark it as a regression?

  2. 92c86b1975e4329648826e3a45adaacf?d=mm

    spiritworld

    Oct 12, 2017 17:35

    I used 2017.1.1f1 and everything was fine. Today I installed 2017.2.0f3 and: kaboom, this bug appeared.

  3. 495e55a1ab7af58b9c2dbec7b81135f1?d=mm

    Peter77

    Oct 03, 2017 05:51

  4. B4163e2bfc9148aca54e20d4bcfccc7b?d=mm

    jmitcheson

    Oct 03, 2017 03:38

    Oooo! It's fixed in 2017.3b2. It seems this fix never made it into 2017.2 though - I hope it will make it in soon.

  5. B4163e2bfc9148aca54e20d4bcfccc7b?d=mm

    jmitcheson

    Oct 03, 2017 03:15

    Not fixed in 2017.2.0f2 either (tested with project above)

    Breaks pretty much all mesh baking!

  6. E01f51c8f2d1961630f95b23b56c83c4?d=mm

    Jason-RT-Bond

    Sep 22, 2017 19:49

    Despite the indication above, this does NOT seem to be fixed in 2017.2.0f1.

    Reproduction: Download the free asset UMA Multipurpose Avatar 2.0, import into a fresh project, open any of the example scenes and run.

    Could you please indicate which version of 2017.2.x a fix should be included in?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.