• Discuss all the things!

    146 Topics
    521 Posts

    Symptom
    After updating from 5.9.2 to 5.9.3, iOS/iPadOS experiences gradual performance degradation during extended play sessions, eventually leading to app termination
    This issue did not occur on 5.9.2
    Suspected Code
    In BrainCloudComms.cs - HandleResponseBundle, the following line was added in 5.9.3:

    jsonData = JsonWriter.Serialize(JsonReader.Deserialize(jsonData));
    Concerns
    This performs a full deserialize β†’ reserialize on every API response
    Immediately after, DeserializeJsonBundle parses the same data again β€” effectively parsing every response twice
    Each response generates a large number of temporary objects (Dictionary, List, boxed values, strings) that are immediately discarded
    On iOS with IL2CPP (Boehm GC), could this repeated allocation/deallocation pattern cause managed heap growth over time?
    Question
    Could this code potentially contribute to memory-related issues on iOS during extended play sessions?

  • Suggestions for improvements, new features, etc.

    41 Topics
    132 Posts

    Hi Francesco, thanks for the suggestion about the folder-level import/export feature. I will have our team review it. FYI, you could script the uploads using the SysPrepareUpload S2S API to avoid doing it manually through the portal.

  • Questions specific to particular APIs, libraries, etc.

    61 Topics
    254 Posts

    Agreed @armitage - the bulk messaging feature is planned for the use case you describe... (and yup - still coming πŸ™‚ ).

  • General cloud code discussions...

    34 Topics
    143 Posts

    Yes, the link provided in that article is automatically updated. For your reference, here is the actual embedded link behind it:
    https://portalx.braincloudservers.com/dts/cloudcode_dts_files.zip

  • brainCloud's online learning tutorials and examples.

    3 Topics
    3 Posts

    brainCloud developers have just release several playable builds of our famous examples! See our cool features in action. Find them at https://getbraincloud.com/demos for Windows, Mac, online and mobile.

brainCloud 5 is alive!

brainCloud 5 features Portal-X (our next-gen portal), Integrated Forums (you found them), our new Bootcamp training videos, and more!

Join the discussion here!

brainCloud Bootcamp!
brainCloud's new video learning portal is now online! Go check out brainCloud BootCamp!

Need to report a defect?
Use the chat widget from the Design Portal - or send an email to support at getbraincloud.com. Thanks!