facebook twitter hatena line email

「Unity/バージョンアップメモ」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(同じ利用者による、間の1版が非表示)
行8: 行8:
  
 
参考:https://www.ikaken.com/archives/1747
 
参考:https://www.ikaken.com/archives/1747
==Unity 2017.2でGUI Textは非推奨へ==
+
==unity2017.2でGUI Textは非推奨へ==
 
以下メッセージが出たときの直し方
 
以下メッセージが出たときの直し方
 
  Component GUI Layer in Main Camera for Scene Assets/MainScene.unity is no longer available.
 
  Component GUI Layer in Main Camera for Scene Assets/MainScene.unity is no longer available.
 
It will be removed after you edit this GameObject and save the Scene.
 
It will be removed after you edit this GameObject and save the Scene.
 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
#Assets/MainScene.unityを開く。
+
#Assets/MainScene.unityを開く
 
#Main Cameraのinspectorを開いて、適当にプロパティを有効/無効と適当に変更する
 
#Main Cameraのinspectorを開いて、適当にプロパティを有効/無効と適当に変更する
 
#Assets/MainScene.unityを保存する
 
#Assets/MainScene.unityを保存する
 +
#Assets/MainScene.unityをクリックして、上記ログが出なければ良い。
  
 
参考:https://tech.pjin.jp/blog/2018/01/31/unity_gui-text_deprecated/
 
参考:https://tech.pjin.jp/blog/2018/01/31/unity_gui-text_deprecated/

2020年6月5日 (金) 23:44時点における版

unity2019.3.0f6へ

unity2019.2.0f1からunity2019.3.0f6へ

Assets/Plugins/Pixelplacement/iTween/iTween.cs(6083,4): error CS0619: 'GUITexture.color' is obsolete: 'GUITexture has been removed. Use UI.Image instead.'

  • GUITextureが使えなくなったのでiTweenを最新へすることで直った。
  • photonでもdemoでGUI系を使ってたのでdemoを削除することで直った。

参考:https://www.ikaken.com/archives/1747

unity2017.2でGUI Textは非推奨へ

以下メッセージが出たときの直し方

Component GUI Layer in Main Camera for Scene Assets/MainScene.unity is no longer available.

It will be removed after you edit this GameObject and save the Scene. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  1. Assets/MainScene.unityを開く
  2. Main Cameraのinspectorを開いて、適当にプロパティを有効/無効と適当に変更する
  3. Assets/MainScene.unityを保存する
  4. Assets/MainScene.unityをクリックして、上記ログが出なければ良い。

参考:https://tech.pjin.jp/blog/2018/01/31/unity_gui-text_deprecated/