Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Darek on March 15, 2021, 07:39:42 AM

Title: How can Playmaker optimize the size of Export to Webgl?
Post by: Darek on March 15, 2021, 07:39:42 AM
Hello

How can Playmaker optimize the size of Export to Webgl?

According to this site
https://github.com/jeanfabre/PlayMaker--UnityLearn--SpaceShooter_U5.5 (https://github.com/jeanfabre/PlayMaker--UnityLearn--SpaceShooter_U5.5)

The difference between Playmaker and the scripted version is only 1MB

I was creating a simple project (rotating 2D square) in C# and exporting to Webgl in Unity 2020.3, the size was 1.94MB

Build Settings: Code Optimization: Size
Player Settings: Manager Stripping Level: High, Compression Format: Brotli

Playmaker version: Manager Stripping Level: Low (otherwise it doesn't work) Webgl 4.41MB
After removing unnecessary scripts: 3.8MB

How to make Webgl less size?

greetings