Yesterday I made a scary decision.
"I will update unity and Playmaker!"
Whenever I update Unity and Playmaker, horrible many error messages came to me.
Anyway, sometimes I need to to that.
I updated Unity 5.3.4 -> 5.6.1 / Playmaker 1.8 -> 1.8.4
(alway back up before this.)
1. Open Unity 5.3.4 Project on 5.6.1It took a long time to import things. And after then, Everything was magenta colored. It's a common material problem.
We need to 'reimport all'
Material problem can be easily fixed using 'reimport all'. (sometimes, we should change some shader. Or delete old shader.)
2.No 'PlayMaker' menu.And still there's many error messages. I couldn't understand them. And there's no 'playmaker menu' on the menu bar.
I'm using 'LeanTween playmaker action' from assetstore. 2 actions of them caused problem. I deleted them. This means,
some old actions can cause fatal problem.3. Famous language folder problem.Check this.
http://hutonggames.com/playmakerforum/index.php?topic=13962.msg66497#msg66497I deleted some language folders. And then,
'playmaker' menu came back.4. But still many error messages and I couldn't run the game.I updated Playmaker. I didn't erase the asset. I just imported latest version(1.8.4).
Some actions were updated. And some error messages are cleared.
I pushed 'update all FSMs in build'. But problems were still remained.
5. GetComponent action's variable re-assignMy final problem was
'NavMesh Agent'. The 'get component' caused problems. At a glance, there were nothing wrong.
Anyway, I re-assigned the NavMeshAgent variable's object type. And then, I could clear all the error messages.6. Need bake light map again.This is not related with PlayMaker. Anyway after updating Unity, lightmap should be baked again.
Now...almost every problem was cleared. :-)
Updating is...really horrible. But possible!
In Short :
1. Some wrong playmaker action can cause fatal problem. We need to fix them or delete.(losing playmaker menu)
2. Unity and Playmaker's version compatibility is important. Just import newer version.
3. I still don't know about the language folder problem.
4. 'update all FSMs in build' can clear some problems.
5. Look 'GetComponent' action if you are using them. Sometimes we need to assign the variable's object type again.