Toggling between Playground On/Off
还没有人认领这个 Issue。
评估
调研方向
Reproduce the failure in Unity v2018.3.6f1 by toggling Playground On/Off repeatedly, then inspect Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs around lines 101, 112, and 115. Trace the obsolete PrefabUtility calls and confirm that repeated toggling completes without console errors or leaving the user unable to switch modes.
由索引模型根据 Issue 内容生成。
描述
Hi Ciro :)
Using Unity v2018.3.6f1 and the current Unity Asset Store build of the Unity Playground, I find that some console errors are thrown after toggling between Playground On/Off a couple of times (first time is fine). As a consequence, the user is no longer able to toggle between these modes. The Console Log seems to indicate that the issue relates from syntax changes:
Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs(101,49): warning CS0618: UnityEditor.PrefabUtility.GetPrefabParent(UnityEngine.Object)' is obsolete: Use GetCorrespondingObjectFromSource.'
Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs(112,35): warning CS0618: UnityEditor.PrefabUtility.RevertPrefabInstance(UnityEngine.GameObject)' is obsolete: Use the overload that takes an InteractionMode parameter.'
Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs(115,91): warning CS0618: UnityEditor.PrefabUtility.GetPrefabParent(UnityEngine.Object)' is obsolete: Use GetCorrespondingObjectFromSource.'
Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs(115,157): warning CS0618: UnityEditor.ReplacePrefabOptions' is obsolete: This has turned into the more explicit APIs, SavePrefabAsset, SaveAsPrefabAsset, SaveAsPrefabAssetAndConnect'
Assets/INTERNAL/Scripts/Editor/DefaultComponents/GameObjectInspector.cs(115,35): warning CS0618: UnityEditor.PrefabUtility.ReplacePrefab(UnityEngine.GameObject, UnityEngine.Object, UnityEditor.ReplacePrefabOptions)' is obsolete: Use SaveAsPrefabAsset or SaveAsPrefabAssetAndConnect with a path instead.'
Cheers,
Jim
- 主要语言
- C#
- 星标
- 974
- 派生
- 161
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Unity-Technologies/UnityPlayground 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 30/100
Unity-Technologies/UnityPlayground#42 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
Unity-Technologies/UnityPlayground#40 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 25/100
Unity-Technologies/UnityPlayground#36 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 30/100
Unity-Technologies/UnityPlayground#31 · 1 条评论 ·
查看 Unity-Technologies/UnityPlayground 的全部 Issue
相似的 Issue
-
type/automation type/tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
-
t/bug
难度 2/5 1-3 小时 新手友好度 82/100
-
ci-failure-cause test-failure
难度 2/5 1-3 小时 新手友好度 82/100
-
area:auth FE mvp P3
难度 2/5 1-3 小时 新手友好度 88/100
klasolsson81/jobbliggaren#1788 ·