Difference between revisions of "Identifying Errors with the Unity Plugin V3"

From PopcornFX
Jump to navigation Jump to search
Line 1: Line 1:
|[[Image:Unity-logo-g.png|link=Unity|50px]]<br/><div style="text-align:center;">[[Unity|<<<]]</div>
|[[Image:Unity-logo-g.png|link=Unity_V3|50px]]<br/><div style="text-align:center;">[[Unity_V3|<<<]]</div>
| __TOC__
| __TOC__

Latest revision as of 09:35, 19 July 2018



Errors, warnings and events originating from the Unity side of the plugin are logged into the console and are prefixed with "[PKFX]"

The PopcornFX Unity native plugin can log its major events, warnings and errors into an HTML file.
This can be enabled/disabled in Unity's editor via the PKFxSettings.
Changing this setting requires to reopen the Unity project.
UnityPopcornFXSettings V3.png

This setting is stored in the PKFxSettings asset, so it's accessible to the standalone builds as well.

The file, named popcorn.htm is located at your project's root directory.
Warnings and errors are highlighted in different colors, respectively orange and red so you can easily visualize them.


On Android the logs are sent to the logcat.
They can be isolated with the prefix "PK_LOG"



On iOS the logs are viewable in XCode's debugging console.