koolkt / gamecode4

Automatically exported from code.google.com/p/gamecode4
GNU Lesser General Public License v3.0
0 stars 0 forks source link

[Editor] Exception when trying to edit the sky or lights #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch the editor
2. Open a level file
3. Try to edit the sky actor
4. Note the exception

What is the expected output? What do you see instead?
- No exceptions should occur

Exception text is as follows:

---------------------------

---------------------------
Error in ComponentName SkyRenderComponent
System.NullReferenceException: Object reference not set to an instance of an 
object.

   at EditorApp.EditorForm.ActorComponentEditor.AddFileElement(XmlNode actorValues, String elementName, Int32 lineNum) in C:\bob\proj\GameCode4\Dev\Source\GCC4Editor\EditorApp\ActorComponentEditor.cs:line 237

   at EditorApp.EditorForm.ActorComponentEditor.AddComponentUI(XmlNode actorComponentValues, XmlNode editorComponentValues, Int32 lineNum) in C:\bob\proj\GameCode4\Dev\Source\GCC4Editor\EditorApp\ActorComponentEditor.cs:line 188
---------------------------
OK   
---------------------------

Original issue reported on code.google.com by rezinat...@gmail.com on 18 Mar 2012 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by rezinat...@gmail.com on 23 Mar 2012 at 8:52