stevefsp/critterai

Error creating CAI Polymesh

Closed this issue · 3 comments

What steps will reproduce the problem?
1. Start new project
2. Import CAINav package
3. GameObject->Create CAI->Polymesh

What is the expected output? What do you see instead?
Following the guide, I should get a dialog. Nothing happens, and two errors 
appear:

Instance of PolyMeshWizard couldn't be created because there is no script with 
that name.
UnityEditor.EditorWindow:GetWindow(Boolean, String, Boolean)
PolyMeshWizard:CreatePolyMeshMenu()


NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetWindow (System.Type t, Boolean utility, 
System.String title, Boolean focus) (at 
E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/Generated/EditorWindow.cs:252)
UnityEditor.EditorWindow.GetWindow[PolyMeshWizard] (Boolean utility, 
System.String title, Boolean focus) (at 
E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/Generated/EditorWindow.cs:276)
PolyMeshWizard.CreatePolyMeshMenu ()



What version of the product are you using? On what operating system?
Unity 3.1.0f4

Original issue reported on code.google.com by eldee.sm...@gmail.com on 9 Jun 2011 at 7:41

Just confirmed this is happening on Unity 3.2 and 3.3 as well.

Original comment by eldee.sm...@gmail.com on 9 Jun 2011 at 5:26

This problem was solved by

1.) upgrading to Unity 3.3.0f4
2.) Applying MS Hotfix KB976038 for Windows 7 x64 
(Windows6.0-KB976038-v2-x64.msu)
3.) Rebooting computer to apply hotfix.

Original comment by eldee.sm...@gmail.com on 9 Jun 2011 at 6:24

Original comment by steve...@gmail.com on 7 Jul 2011 at 8:36

  • Changed state: Done
  • Added labels: Type-Other
  • Removed labels: Type-Defect