Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.61f1

6000.0.48f1

6000.1.0f1

6000.2.0a10

Issue ID

UUM-103940

Regression

No

Player build logs a "material with shader doesn't have a '_MainTex' property" error when instantiating a specific amount of specific prefabs

-

Reproduction steps:
1. Open the attached "IN-97465" project
2. Open the “MainScene” Scene
3. In the Hierarchy window expand the “==== MANAGERS ====” GameObject
4. Select the “Game Manager” GameObject
5. In the Inspector window “Spawn Characters” script component change the “Num Characters To Spawn” property value to 3
6. Build and run the project
7. In the built project click “Start”
8. Observe the console in the built projects bottom left corner

Expected result: No errors are logged
Actual result: “_mainTex” is expected error is logged

Reproducible with: 2022.3.7f1, 2022.3.61f1, 6000.0.48f1, 6000.1.0f1, 6000.2.0a10
Could not test with: 2022.1.0a1, 2022.2.0a2 (Multiple method not found errors)

Reproducible on: Windows 11, macOS 10.15 (Intel) (User)
Not reproducible on: No other environments tested

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.