I made a custom ScriptableWizard and wanted to draw Gizmos while it was active, so I defined the following function inside my class (c#):
But even when the wizard is active there are no Debug messages and no Gizmo is drawn. So I was wondering what I was doing wrong... ;P
Thanks in advance
asked Feb 21 '10 at 09:32 AM
It's a know bug. A quote from the forums by Shawn, a Unity employee: " this is a known problem. We have no ETA on a fix yet... :( "
answered Jun 19 '11 at 02:54 AM
Check you don't have any script compilation errors. If this code was added since the last successful compile, it won't be included in the current wizard you see.
Note that this includes ALL compiling issues in your project, not just the script containing this code. If there are any compilation errors at all, Unity will revert to the last successful code compile.
That's about the only thing I can see possibly wrong with this right now, and I point it out as it has happened to me a couple of times before.
answered Jun 03 '10 at 03:01 AM
Is the scene camera looking at <0,0,0>? The best way to check is to position an object there and make sure the camera can see it. If you still don't see the cube, there could be another problem.
answered Feb 24 '10 at 05:47 PM
Make sure you didn't accidentally "un-render" the mesh for the missing object. It may sound obvious, but you never know. That would be something I'd do by accident. lol.
answered Mar 10 '10 at 07:56 PM