Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17115

UserDefault fatal error

$
0
0

@lino2 wrote:

I'm migrating to 3.10 from 3.0.4, suddenly my game got error. Android log error:

04-19 16:23:07.150: A/libc(5578): Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 5578

After doing testing the cause is this code

int high_score = UserDefault::getInstance()->getIntegerForKey("key");

If I comment the code, I can open the game. Is the UserDefault got replaced? I tried a bit searching but it seems that it's not replaced..

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>