Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.2.X
Votes
1
Found in
5.3.6p2
Issue ID
833543
Regression
No
[Runtime] UnityEvent objects contain the name of type as a serialized string
No repro steps, attached project "833543.zip" which creates 1k UnityEvents on Start
This is by desing because it's to ensure we create an event object instance of the right type in the inspector. The type name is in the serialized property, but not qualified, meaning we could have conflicts (a type T in UnityEngine and UnityEditor and two different namespaces in the user project), so this type is to determine the event paramenters count/type/ etc.
The problem is that this is something specific to solve a problem in the inspector(Editor) but at runtime it does not seem to be useful and it's consuming considerable amount of memory, and quite significant on low end devices.
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
Add comment