Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

NetworkIdentity.UNetStaticUpdate allocates memory

$
0
0
Hi,

I was looking at the profiler output and it seems that this method allocates a small amount of memory (when creating an iterator over some values):

View attachment 150762

There are 2 issues here:
  1. Most of the Unity APIs don't allocate memory.. can this be considered a bug? or is this something that cannot be prevented?
  2. I am not sure why the profiler shows 72 bytes are allocated, but when drilling down it only shows 24 bytes (the topmost element should be equal to...

NetworkIdentity.UNetStaticUpdate allocates memory

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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