x


Editor-script works however i get an error message "DockArea.EndOffsetArea()

Hi, i´ve created an Editor-script which creates a whole folder of geometry files. It´s works great and the assetbundle is correct. The problem is the upcoming error message in the console:

NullReferenceException: Object reference not set to an instance of an object

UnityEditor.DockArea.EndOffsetArea ()

UnityEditor.DockArea.OnGUI ()

Any reasons for that? Any ideas? Thanks for your help....

more ▼

asked Jun 30 '11 at 04:49 PM

yosh gravatar image

yosh
901 73 81 94

I get this same error. My editor script is a custom window with buttons that load scenes (in edit mode). I have not found a fix yet.

Aug 05 '11 at 01:49 AM Steven Walker
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Like i said in previous post, the solution is to call "EditorGUIUtility.ExitGUI();".

more ▼

answered Oct 12 '11 at 01:13 PM

yosh gravatar image

yosh
901 73 81 94

Great, thank you!

Oct 12 '11 at 04:14 PM Steven Walker
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1951
x382
x348

asked: Jun 30 '11 at 04:49 PM

Seen: 1690 times

Last Updated: Oct 12 '11 at 04:14 PM