NegInfinity / ProjectExodus

Project Exodus - Unity to Unreal scene/project transfer tool.
BSD 3-Clause "New" or "Revised" License
491 stars 97 forks source link

TODO: 2018.3 prefab system change #1

Open NegInfinity opened 5 years ago

NegInfinity commented 5 years ago

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 commented 5 years ago

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.'