Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Prefabs (drag & drop into scene) giving NullReference

$
0
0
I've got a problem where a fairly significant amount of prefabs in my Asset library appear to have become corrupted. Drag and drop them into the scene, I get the 'invalid' cursor and this message in the console "NullReferenceException: Object reference not set to an instance of an object UnityEditor.SpriteUtility.GetSpritesFromDraggedObjects () (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Sprites/SpriteUtility.cs:113)" The inspector is also blank for the prefab. These prefabs have no scripts attached; they are quite literally just model, material + appropriate colliers & layer/tag information.

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>