# Profiler shows nulls and is not showing total instance counts

**URL:** <https://forum.defold.com/t/profiler-shows-nulls-and-is-not-showing-total-instance-counts/71962>\
**Category:** Questions\
**Created:** [October 27, 2022, 7:50am UTC](https://forum.defold.com/t/profiler-shows-nulls-and-is-not-showing-total-instance-counts/71962 "2022-10-27T07:50:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [October 27, 2022, 7:50am UTC](https://forum.defold.com/t/profiler-shows-nulls-and-is-not-showing-total-instance-counts/71962/1 "2022-10-27T07:50:42Z")

</div>

When calling `profiler.enable_ui(true)` I’m used to seeing something like this:

 ![visual_profiler](https://forum-defold.b-cdn.net/uploads/default/original/3X/f/3/f3ed9f69cba9d10ad94b111fee07d97c79a4c038.png)

But I now get this:

 ![Screenshot 2022-10-27 at 08.49.27](https://forum-defold.b-cdn.net/uploads/default/original/3X/e/4/e4357c86e60db367302a8600e99913338f09cd1f.jpeg)

I use this version of Defold:

 ![Screenshot 2022-10-27 at 08.51.12](https://forum-defold.b-cdn.net/uploads/default/original/3X/7/0/704309d158b77c436cad022be57eb07d53e65ef8.png)

Did something change in the profiler?

**Update:** How strange! Every now and then it does work when building:

 ![Screenshot 2022-10-27 at 08.56.34](https://forum-defold.b-cdn.net/uploads/default/original/3X/7/c/7ccb682b7a620072b2d4c2f79afb170755e5d3de.jpeg)

**Update 2:** I only now noticed some errors and warnings in the console:

```
WARNING:DLIB: Unhandled ssl status code: Unknown error - 0 ( 0x0000)
ERROR:SCRIPT: HTTP request to 'https://D1B3C.playfabapi.com/Client/GetTime?sdk=DefoldSdk_0.110.211209' failed (http result: -1 socket result: -1000)
WARNING:SCRIPT: Failed to return http-response. Requester deleted?
ERROR:SCRIPT: HTTP request to 'https://D1B3C.playfabapi.com/Client/GetUserInventory?sdk=DefoldSdk_0.110.211209' failed (http result: -1 socket result: -1000)
WARNING:SCRIPT: Failed to return http-response. Requester deleted?

```

This, or similar messages, show every time it fails.

**Update 3:** If the game isn’t running when building it always works! Must have something to do with the game not being shut down completely.

Sorry for all the updates whilst doing detective work, I’m done now. 🙂

---

<div class="post-metadata">

**Author:** ![selimanac](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/selimanac/32/6397_2.png) [@selimanac](https://forum.defold.com/u/selimanac)\
**Post date:** [October 27, 2022, 8:10am UTC](https://forum.defold.com/t/profiler-shows-nulls-and-is-not-showing-total-instance-counts/71962/2 "2022-10-27T08:10:38Z")

</div>

> [@totebo](#):
>
> Did something change in the profiler?

Profiler was updated to Remotery but I don’t remember when(guess after 1.3.4). I highly recommend you to use web profiler instead. It is better for readability.

> [@totebo](#):
>
> **Update 2:** I only now noticed some errors and warnings in the console:

Errors are related to PlayFabAPI. It can’t reach the service by using SSL(https). That shouldn’t be related with profiler.

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [October 27, 2022, 8:27am UTC](https://forum.defold.com/t/profiler-shows-nulls-and-is-not-showing-total-instance-counts/71962/3 "2022-10-27T08:27:24Z")

</div>

> [@selimanac](#):
>
> I highly recommend you to use web profiler instead. It is better for readability.

I do like the web profiler, but in this case I was hunting for memory leaks (found none, it’s a miracle!) and I find that’s much quicker to do with the in-game profiler.
