Search Issue Tracker

Won't Fix

Votes

0

Found in

4.1.0f2

Issue ID

532333

Regression

No

Crash when playing a scene, using a code in Main.cs

Assets Management

-

Steps to reproduce :

- open the project attached
- open the scene DressingroomExample
- press play and notice the crash

Material[] mats = (Material[])Resources.FindObjectsOfTypeAll (typeof(Material));
foreach (Material mat in mats)
DestroyImmediate (mat);

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.