Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - puargs

Pages: [1]
1
NGUI 3 Support / NullReferenceException in Prefab Toolbar with Unity 5 beta
« on: November 17, 2014, 06:00:24 PM »
Getting the following exception hundreds of times per second when attempting to use the prefab toolbar in Unity 5 beta with NGUI 3.7.6:
  1. NullReferenceException: Object reference not set to an instance of an object
  2. UIPrefabTool.OnGUI () (at Assets/NGUI/Scripts/Editor/UIPrefabTool.cs:937)
  3. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

My apologies if it has already been submitted. I looked for it but couldn't find it.

2
In my 3D UI, I have a UIPanel with a UIDraggable Panel Script attached. Underneath is a UI Grid with items that get attached programmatically. Everything seems to work fine and everything scrolls well, looks good etc.

Except the scroll wheel - the scroll wheel doesn't seem to do anything. No matter what number the "Scroll Wheel Factor" is set to (0, 1, 100, 1000, anything), it doesn't seem to work.

Any ideas on what I'm doing wrong?

Pages: [1]