Jump to content

[Help] AWS Plugin burns down my house


Recommended Posts

Running into a weird problem when working on my AWS plugin;

On active, the GUI will report conditions, play sounds, and animate. The buttons also draw, and are animated, but will not toggle. After 30 seconds, it will crash completely and sometimes take the game with it.

Funny enough, when the part is destroyed, full functionality is restored.

The console error being thrown is here: http://pastebin.com/urn2zYix

The latest source code is here: http://pastebin.com/gTZU77Uh

If you want the whole plugin as is, I\'ve attached it to the thread. (latest source is above)

Pic of panel:

VtTRA.png

The error led me to audio2 (distress_loop) - and I thought it was the underscore in the wav filename. I changed it, but it had no effect.

I was able to clear the error by moving the buttons to the bottom of BeginVertical, but it re-emerged. I can also wrap them Horizontal, and it will 'work' by playing sounds, but having no interactive properties until the part is destroyed. It seems that this occurs after a random time, and the position of the button code appears immaterial, but I am unsure.

Randomly, when MET hit 2:00m, I could drag the window; soon as I hit one of the buttons, the plugin and game crashed.

Appreciate any help or direction. I\'ve been hitting this with a hammer for two days to no avail. >:(

Cheers,

Meat

Link to comment
Share on other sites

urModAudio4 is set to \'null\' when this happens. Thus you get the NullReferenceException.

You mentioned it happens when you hit a button. Then you should check your code and see if it is a possibility this button some way or another gives urModAudio4 a \'null\' value.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...