Skybox generator script from Unity Wiki - not working by default

Just a quick question, I am looking for a cubemap/skybox generator. I have bought CubeGen, but it doesn’t work in 3.4 or 3.5 properly

The skybox generator script available here:

gets errors in Unity 3.4

IN UNITY 3.4:

Assets/Editor/SkyBoxGenerator.js(51,44): BCE0022: Cannot convert ‘Object’ to ‘UnityEngine.Vector3’.

No custom menu

IN UNITY 3.5:

I get the custom menu

Instance of SkyBoxGenerator couldn’t be created because there is no script with that name.
UnityEditor.ScriptableWizard:smile:isplayWizard(String, Type, String)
SkyBoxGenerator:RenderSkyBox() (at Assets/Editor/SkyboxGenerator.js:46)

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ScriptableWizard.DisplayWizard (System.String title, System.Type klass, System.String createButtonName, System.String otherButtonName) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/MonoGenerated/Editor/ScriptableWizard.cs:106)
UnityEditor.ScriptableWizard.DisplayWizard (System.String title, System.Type klass, System.String createButtonName) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/MonoGenerated/Editor/ScriptableWizard.cs:96)
SkyBoxGenerator.RenderSkyBox () (at Assets/Editor/SkyboxGenerator.js:46)

Does anyone have a solution working in 3.5? I really want to migrate and have a cubemap gen system working.

Thanks for any info

I’ve the same error :frowning:

Hi!

i was having the same problem, what i did was change the name of the Javascript to SkyBoxGenerator.
This name was in the line that the error occur in script.

ScriptableWizard.DisplayWizard (“Render SkyBox”, SkyBoxGenerator, “Render!”);

worked for me, hope it helps!

cya!