Can I reduce the size of Webgl width Arbor?

Forum rules
Here is the forum to do the questions about how to use to Arbor developer.
Attention point:
  • We can not answer your questions about your project specific issues.
  • We can not answer your questions on Unity's specification issues.
  • Please check Arbor Documentation and ask a question if you still don't know how to use it. If the desired function is not described in the document, it is highly possible that the function does not exist from the beginning, so go to the request forum.

ここは、Arbor開発者へ使い方に関する質問を行うフォーラムです。
注意点:
  • ユーザー様のプロジェクトの仕様上の問題や設計に対する質問には答えられません。
  • Unityの仕様上の問題に対する質問には答えられません。
  • Arbor Documentationを確認の上、それでも使い方がわからない場合にご質問ください。欲しい機能の記載がドキュメントにない場合は機能が元から存在しない可能性が高いので要望フォーラムへ。

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Can I reduce the size of Webgl width Arbor?

Re: Can I reduce the size of Webgl width Arbor?

by dzynek » 2021/03/14 21:27

Thank you for your answer.

This option was already being set: "Managed stripping levels: High" and only removing "unused BuiltInBehaviours code" (which could be done without causing an error) reduced Webgl to 3.35MB

For comparison:
Playmaker (Managed stripping levels: Low): Webgl - 4.41MB, delete unused code: Webgl - 3.8MB
Bolt, as I remember well, probably Webgl - 4.7MB
uScript Unity 2018: Webgl - 3.5MB, delete unused code Webgl - 2.7MB but uScript has probably been abandoned.

greetings

Re: Can I reduce the size of Webgl width Arbor?

by caitsithware » 2021/03/14 11:01

Hello

Please understand that the size of Arbor will always be larger than a project with only simple C# code, because Arbor includes data necessary for graph editing.

To reduce the size as much as possible, you can remove examples and unused BuiltInBehaviours code, and set the Managed stripping levels in Managed code stripping.

https://docs.unity3d.com/Manual/Managed ... pping.html

Note, however, that Managed code stripping may not work properly depending on the setting, as it may delete necessary code.
We cannot provide support if the code does not work properly, so please set the level to work properly.

Can I reduce the size of Webgl width Arbor?

by dzynek » 2021/03/14 10:26

Hello

Export of a simple 2D project (rotating square, Unity 2020.2) to Webgl programmed in Arbor - size is 3.52MB (the same project in c# exported to Webgl is 1.94MB).

Can I reduce the size of Webgl?

greetings

Top