Skip to content

Commit 37a607d

Browse files
authored
Update README.md
1 parent 29832e4 commit 37a607d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,30 @@ Please report if plugin does not work for you on some specific platform.
326326

327327
All features should work fine with any stripping level, IL2CPP runtime, .NET 4.6 compiler and Assembly Definitions.
328328

329+
# Troubleshooting
330+
331+
------------------------------------------------------------------------
332+
333+
- I cannot see AFPSCounter on the screen
334+
335+
- Make sure you have added it to the current scene (either in Editor or from code).
336+
- Make sure it is enabled and active.
337+
- Check console for any error messages or warnings.
338+
- Make sure your Canvas Sorting Order has value lower than AFPSCounter’s Sorting Order advanced setting value.
339+
- If you are working with VR, place AFPSCounter inside an existing Canvas with World Space Render Mode to make it
340+
341+
visible in your VR device (see Examples/Prefabs/VR Example).
342+
343+
- Something is wrong with the font I use for the counters
344+
- Unity had a bug, which led to the exclusion of the font styles in case you are using different font files for the
345+
346+
different styles. Please try updating your Unity version to check if it fixes this issue for you.
347+
348+
- I see GC allocations from AFPSCounter
349+
- Relatively low amount of GC allocations is expected in the Normal operation mode as it uses UGUI Text which do
350+
351+
not allow to use char[] instead of string to prevent GC allocations. You may use Background operation mode (which
352+
does not produce GC allocations while running) to make your own GC-free visualization.
329353

330354

331355

0 commit comments

Comments
 (0)