Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b5
Issue ID
769136
Regression
Yes
[Cloth] Adding cloth to an object throws multiple errors and added cloth component is missing all of its properties
To reproduce:
1. Open attached project
2. Select banner1 object
3. Add cloth component
4. Notice errors in console:
get_skinIndex is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'ClothInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.ClothInspector:.cctor()
LoadAssetAtPath is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'ClothInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.ClothInspector:.cctor()
UnityException: LoadAssetAtPath is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'ClothInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEditor.DockArea:OnGUI()
Before 5.4.0b9 this error was printed:
GetLocalizedString is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'ClothInspector' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.ClothInspector:.cctor()
Regression from 5.3
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
like_a_bosss
Mar 31, 2016 16:42
well stiill not working in 5.4 b12