#(IN-33459) [1.0.0-pre44] Deserialization of Managed Shared Component on Android results into crash

1 messages · Page 1 of 1 (latest)

stark pulsar
#

This is a copy of the report for other people to see.

Let's authorize a single entity and attach a managed shared component to it. The shared component will contain an array of serializable objects. At the build time, the shared component gets properly serialized.

If you were to build it on Windows, the scene will get loaded correctly and the shared component will get correct deserialized values.
But, when you were to run it on Android, the app crashes at deserialization process. I've provided an error from logcat in logcat.txt

I've provided a new project that recreates the bug in a simple way.
Here is a github repository for convenience: https://github.com/BerezkovN/Entities-Deserialization-Bug

Both editor and packages are up to date.

My device specification:
realme GT NEO 3T
Model: RMX3371
Processor: Qualcomm Snapdragon 870

GitHub

Contribute to BerezkovN/Entities-Deserialization-Bug development by creating an account on GitHub.

rough root
#

yeah i saw on the bug the logcat. it isn't super obvious whether that's going to be stripping or not

#

it could definitely be stripping

stark pulsar
#

I'm going to build it with mono and report the results here

rough root
#

thanks!

#

i'm pretty sure this is supposed to work

stark pulsar
rough root
#

whatever you chose for your Android build

stark pulsar
#

It was disabled I believe

#

Brand new project

rough root
#

Disabled is not allowed on il2cpp

#

So it was probably minimal

rough root
#

oh it was a mono build on Android

#

Well this is a new bug then!

#

We’ll look at it

stark pulsar
#

Nice. I'm glad to help

rough root
#

sorry for the delay! we didn't lose track of it this time, we just haven't gotten to it yet. there are a lot of bugs to get through, unfortunately, and the guy who was best at this thing was especially busy

rough root
#

and as it turns out, he found it just now, but it'll be a minute since it requires a new serialization package release and then us to use that