hagish / kalimba

puredata (libpd) for unity mobile (ios,android)
Other
94 stars 10 forks source link

Game Crashes on Android immediately after start #7

Open Lauchsuppe opened 8 years ago

Lauchsuppe commented 8 years ago

Hi! It's super cool that there's people trying to make procedural audio in unity possible. Thanks for that! However, I have trouble getting kalimba to work in my unity project.

So, I've successfully built the test project for android in Unity 5 and the program worked fine on my android devices. However, when I tried integrating the test project into my other unity project, I ran into problems. Building worked well, however the game immediately crashed after starting it on my android devices. Is unity 5 still supported by kalimba? How do I properly integrate the kalimba scripts into my unity project? I simply dragged the streaming assets folder and the items in the assets folder into my project folder. Maybe that wasn't enough? Everything seemed to work properly until after building the game.

Cheers Ragnar

Lauchsuppe commented 8 years ago

Oh, I somehow made it work that the game won't crash immediately. However, the game ai will now freeze and behave abnormally. I have no clue what causes it, but it only happens after I add the kalima example project files. If I play it in editor, everything would work fine; even via unity remote. But when compiled, the game will now do weird stuff. The pd component works however.

hagish commented 8 years ago

I never tried this implementation with Unity 5. Did you use the 32bit version? I'm currently using https://github.com/Magicolo/uPD as Unity-PD bridge for win/linux/mac builds.