Skip to content

2018.4 CreatePrefab(string, UnityEngine.GameObject)' is obsolete: `Use SaveAsPrefabAsset instead #82

@unitycoder

Description

@unitycoder

Fixed in next update.

PointCloud2MeshConverter.cs(1016,52): warning CS0618: UnityEditor.PrefabUtility.CreatePrefab(string, UnityEngine.GameObject)' is obsolete: Use SaveAsPrefabAsset instead.'

// old
#if UNITY_2019_1_OR_NEWER
// fixed
#if UNITY_2018_4_OR_NEWER

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions