Skip to content

[unity] description: 打包成功后点击build puerts-js for browser 弹出一堆Error: [BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB. #72

@Shadow-Fy

Description

@Shadow-Fy

error log | 日志或报错信息

[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
UnityEngine.Debug:LogError (object)
PuertsStaticWrap.UnityEngine_Debug_Wrap:F_LogError (intptr,intptr,intptr,int,long) (at Assets/Gen/UnityEngine_Debug_Wrap.cs:514)
Puerts.GenericDelegate:Action<string[], string> (string[],string) (at D:/pacificx/packages/upm/Runtime/Src/Default/JSType/GenericDelegate.cs:482)
WebGLPuertsPostProcessor:run (string,string) (at D:/pacificx/packages/webgl-jsbuild/upm/Editor/WebGLPostProcessor.cs:79)
WebGLPuertsPostProcessor:browser () (at D:/pacificx/packages/webgl-jsbuild/upm/Editor/WebGLPostProcessor.cs:98)
image

context | 编译/运行环境

puerts:nodejs 2.1.0
unity:20223.51f1

how to reproduce | 复现步骤

image

image

more | 其他

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions