This week we were down a man at Sauropod. Paolo was really sick and had to work from home. The studio felt a little empty without him, but that doesn’t mean that we weren’t hard at work.
As you all know, we’ve moved our code to Unity4. However, the change has started causing some memory issues and the more we code the more the issue is cropping up. We’re running into unusual Garbage Collection framerate drops every 5 seconds or so whenever we start the game, but the issue seems to go away after playing the game for awhile. We’ve been searching high and low for what could be causing this. After some research on the Unity forums, we found that a lot of developers were having issues with the GUI framework that were resulting in this. So, we deactivated our GUI and went in to do some more testing. As you can imagine, testing a game without a GUI can be problematic since there’s no button to actually start a game. To get around this, we built our own performance tool to help us out. Removing the GUI seemed to help, but the problem is deeper yet and we are still investigating it. This could very well mean that we will have to find another GUI system and gradually transfer everything we have done with the old one to the new one. Now, this may not be a bad thing. The Unity GUI is very strict, and there are a lot of other GUI frameworks we could use such as Scaleform or Awesomium that use simpler languages.
here is a screenshot of the profiler with the evil spike
In the last dev blog, we showed the new beacon system that comes with the new radial menu. as it turns out, there were two minor issues that had to be fixed.
Collision on beacon : the beacon icon had a collider. This meant that the bricktrons couldn’t move through the beacons. That is now fixed and bricktrons will be able to path through beacons as intended.
Shaders : Whenever we created a beacon and built something on it, the beacon icon was always disappearing behind the blocks. Benoit created a shader that keeps selected beacons visible on top of blocks.
Last week, we did our first testing with a new feature we’re wanting to integrate into the game. We’re not ready to talk too much about it yet, but we have a little video showing it off a little. We’ll let your imagination fill in the blanks.
Soundtrack of the week
This week, we’ve got an artist I discovered only just recently. Like I said lat week, I’m really more of an OST person. It reminds me of the new Tron movie pretty strongly. It has a very electro feeling throughout, and the artist does a great job with his remixes. It has a good energy to it, keeps your blood pumping and head bobbing no matter how much work you’ve got infront of you.
Thanks for reading!
28 Comments for Dev diary number forty one : Memory issues and … Popcorn?