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. 864662f96aa964e09bf1bb0c2cd09ae8?d=mm

    Chodu

    Jan 09, 2018 02:27

    Fixed in 2017.3.0f3

  2. 74e98ca77f04e41a37f4ec683f2824c6?d=mm

    Next_Munich

    Dec 04, 2017 12:55

    Same here version: 2017.2.0f3

  3. B9c84c39cfb010caa16930a952fb1746?d=mm

    kzyma650

    Dec 04, 2017 12:48

    Not fixed in 2017.2.0f3

    Someone already stated above, but any Workaround?

  4. A336c1c5ad107ec56504ffd910e6aeaa?d=mm

    AsoraX

    Dec 03, 2017 04:26

    Not fixed in 2017.2.0f3 -.-
    Any Workaround?

  5. 8af0007e17ecd548689e7278f5eb6313?d=mm

    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

  6. B354975296a938d5e4640693700c6f6a?d=mm

    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.

  7. 38fd806a3af40cd75fcdcc23e5647a9f?d=mm

    nosajtevol

    Oct 27, 2017 21:17

    Still not fixed! Broke the skinned mesh combiner script in Unity Anima 2D

  8. 6b258020cee51581ac63db2d6b853c60?d=mm

    Shane8th

    Oct 23, 2017 05:54

    Still broken in 2017.2.0f3

  9. 32f1a7a17bde3a5dcf190f5f8e739b09?d=mm

    imranmouna

    Oct 22, 2017 15:36

    This is still a problem in 2017.2, but is not is 2017.1.0f3

  10. 153a76c1631c9b7296cd0739393c4223?d=mm

    megatonmedia

    Oct 19, 2017 04:30

    Still Broken is 2017.2. Not fixed

All about bugs

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