Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Alex Duncan

3
Posts
1
Topics
11
Followers
54
Following
A member registered Feb 09, 2015 · View creator page →

Creator of

Recent community posts

Thanks for trying it out!

Hi, I'm trying to call DoodleAnimator.ChangeAnimation() and have hit a very serious error that will crash Unity unless I restart the program. My code is pretty simple.

if(playerHits >= minPlayerHits){
    if(!activating){
        Debug.Log("Activating");
        activating = true;
        anim.ChangeAnimation(activatingAnim);
    }
    getPowerUpTimer += Time.deltaTime;
    if(getPowerUpTimer > getPowerUpTime){
         getPowerUpTimer = 0f;
         playerHits = 0;
         Debug.Log("HEYO WE GOT DAT POWERUP");
         PlayerGetsPowerUp();
    }
} else if(activating){
    activating = false;
    Debug.Log("Deactivating");
    anim.ChangeAnimation(baseAnim);
}

The error I get when I call ChangeAnimation is the following:

Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 12

The size of the unfreed allocation increments by 12 each frame after this, it seems. I have tried a few other ways to change the animation, but all of them give me the same results.

Hi lepelchannel, thanks for trying it out and I'm glad that, for the most part, you enjoyed it.

The frame-rate freeze you were experiencing is actually intentional, I wanted the "glitches" to feel quite jarring.