Psi Neur
Psi Neur
Note to self: don't forget #23
Update: this happens with struct like { GLubyte r; GLubyte g; GLubyte b; } but not with { GLubyte r; GLubyte g; GLubyte b; GLubyte reserved1; GLubyte reserved2; } Probably...
Update: restoring isa can help avoid crashes after using valueForKey: BUT! value that gets returned can be garbage.
Update: tested on iPad 2 with iOS 5.0.1 - works ok, bug doesn't exist. Updated first post.
Update: tested on iPad 2 with iOS 4.3.5 - affected.
Update: ccColor3B should be 4 bytes under 4.3 simulator to avoid KVC failure.
Changed to Defect - looks like there's no problem with that. At least it doesn't lead to crash.
You use latest iOS & XCode on Lion? Maybe i should try it on iOS 5 - i tried only on iOS 4. Anyway, thank you for the tip! 06.12.11...
Tried with iOS 5 on iPad - same problem - STFail does nothing. My XCode version is 4.2 (build 4D199). Gonna update to latest 4.2.1 today & try again.
Moving to 0.3 to speedup 0.2 BTW, @pingpongboss maybe it can become part of Cocos2D-iPhone, can you ask @ricardoquesada about this?