Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[VX] RGSS2 player crashes; script issue?

Hi guys,

I'm relatively new to these forums but not to software development. I seem to be encountering a bit of an issue with a script though, and I don't think it has anything to do with my code.

See, the problem occurs (I think) when I add too many classes to the list of scripts. For example, I have a skeleton of a scene that works just fine, but the moment I add any more scripts to the library, the RGSS2 player crashes when I call $scene = Scene_Map.new.

This is the strangest thing, because if I take the additional scripts out, my skeleton scene works just fine. Also, it might help to mention that I'm not putting any functionality in the other classes. They are just:

class Test_Class
end

class Test_Class_2
end

I made them to test my theory that it wasn't a problem with my code. I don't think that I have an excessive number of scripts or anything...I probably have fewer than 10 custom scripts in my project. Is there a way to get around this? Has anyone else encountered this issue?

-Ed
 
Yeah, exactly...

The problems seem to be isolated to scene disposal and switching to a new scene. As far as I can tell, no amount of commenting-out code fixes the issue. It -always- occurs after $scene = ...

It's really strange. I hope there's some kind of resolution to this but I can't think of one.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top