ProjectExodus icon indicating copy to clipboard operation
ProjectExodus copied to clipboard

TODO: 2018.3 prefab system change

Open NegInfinity opened this issue 6 years ago • 1 comments

2018.3 version of unity has changed behavior of prefab system, including PrefabUtility, which is heavily used for prefab root detection. Needs to be cleaned up and modified.

NegInfinity avatar Feb 14 '19 13:02 NegInfinity

Related:

Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(31,15): warning CS0618: 'PrefabUtility.FindPrefabRoot(GameObject)' is obsolete: 'Use GetOutermostPrefabInstanceRoot if source is a Prefab instance or source.transform.root.gameObject if source is a Prefab Asset object.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(36,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(37,21): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(37,61): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(40,21): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\ExportUtility.cs(40,69): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(45,11): warning CS0618: 'PrefabUtility.FindPrefabRoot(GameObject)' is obsolete: 'Use GetOutermostPrefabInstanceRoot if source is a Prefab instance or source.transform.root.gameObject if source is a Prefab Asset object.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(49,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(50,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(54,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(55,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(59,19): warning CS0618: 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(60,24): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'
Assets\ExodusExport\Scripts\Editor\Exporter\Utility.cs(60,64): warning CS0618: 'PrefabType' is obsolete: 'PrefabType no longer tells everything about Prefab instance.'

NegInfinity avatar Feb 14 '19 14:02 NegInfinity