Search Issue Tracker

Fixed

Fixed in 6000.2.0a11

Votes

0

Found in

6000.2.0a11

Issue ID

UUM-103770

Regression

Yes

"NullReferenceException" error thrown when creating a new Session using Multiplayer Widgets

-

*Steps to reproduce:*
1. Create new Unity project
2. Import Multiplayer Widgets package
3. In Hierarchy window right-click and create > Multiplayer Widgets > Create > Create Session
4. Observe the Console window

*Actual results:* "NullReferenceException" error is thrown in the Console

*Expected results:* No errors in the Console

*Reproducible with versions:* 6000.2.0a5, 6000.2.0a9

*Not reproducible with versions:* 6000.2.0a4

 

*Tested on (OS):* MacBook Pro, 2021 (Apple M1 Max, Sequoia 15.3.2)

 
{code:java}
NullReferenceException: Object reference not set to an instance of an object
TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) (at ./Library/PackageCache/com.unity.ugui@c4ad10b9f220/Runtime/TMP/MaterialReferenceManager.cs:525)
TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+TextProcessingElement[] textProcessingArray) (at ./Library/PackageCache/com.unity.ugui@c4ad10b9f220/Runtime/TMP/TextMeshProUGUI.cs:1751)
TMPro.TMP_Text.ParseInputText () (at ./Library/PackageCache/com.unity.ugui@c4ad10b9f220/Runtime/TMP/TMP_Text.cs:2017) {code}

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.