Search Issue Tracker

Won't Fix

Votes

1

Found in [Package]

1.6.1

Issue ID

UVSB-1611

Regression

Yes

[Android][WebGL] Exception: IL2CPP error for method System.Void Bolt.UnityMessageListener::AddGUIListeners() during the Build

Package: Visual Scripting

-

*Updated Steps*

*Reproducible on:*
* VS version: 1.6.1
* Unity version: 2021.1.13f1

*Steps To Reproduce:*
# Download the Unity project "ErrorIssue.zip"
# Open it using Editor 2020.3
# If the Bolt version is not 1.4.15 Upgrade to it
# Close the project and Open it using Editor 2021.1.13f1
# From the package manager upgrade to Visual Scripting 1.6.1 and wait until the migrations finishes
# Open "Spezi_MainMenue.unity" Scene
# "Build And Run" to WebGL

*Outcome Results:*
* Build fails
* Errors related to IL2CPP appear in the console
{code:java}
"Exception: IL2CPP error for method 'System.Void Bolt.UnityMessageListener::AddGUIListeners()'"
{code}

*Expected Results:*
* No errors related to VS should appear in the console and the build should succed

---------------------------------------------------------------------------
*Original Steps*

How to reproduce:
1. Download the Unity project "ErrorIssue.zip"
2. Open "Spezi_MainMenue.unity" Scene
3. Build And Run to WebGL
4. Observe Console window

Expected result: No errors in the Console log and build is successful
Actual result: "Exception: IL2CPP error for method 'System.Void Bolt.UnityMessageListener::AddGUIListeners()'" error message is thrown and the build stops

Reproducible with: 1.4.15 (2021.1.0a10, 2021.2.0a19)
Not reproducible with: 1.4.15 (2019.4.26f1, 2020.3.11f1, 2021.1.0a1)

Can't test with: 2018.4.35f1 (Project breaks), 2021.1.0a2-2021.1.0a9 (Due to Console errors)

Notes:
- The issue is reproducible when building for WebGL
- This error is reproducible with Android build with IL2CPP and .NET 4.X
- The issue is not reproducible when building Windows standalone with IL2CPP

  1. Resolution Note:

    This will not be fixed

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.