You are here

Unity

Unity3D: InputField caret position bug workaround

Submitted by Druss on Sat, 2015-07-04 02:06

If you, like me, have the (off and on) pleasure of working with Unity3D (5.1.1f1), you are probably familiar with implementing cute li'l workarounds to get around the pesky li'l niggles that seem to plague the otherwise fun package. Today, I ran into an issue with the Inputfield nGUI component. From the looks of things, it doesn't like you playing around with its font size.

XML and Unity3D

Submitted by Druss on Fri, 2015-05-29 01:45

N.B. This is a mirror of a page that no longer exists at its original location.

I needed to be able to save game state, and I wanted to communicate back and forth with websites, and I needed the files to be human readable, and I needed it to be easy [I have been told I am very needy]. The best thing for me to do was to figure out how to read, and write, XML inside Unity3D. It’s a web plugin right? it should support XML processing, and the DOM model right? Well, yes, yes it does.

C# error: InvalidOperationException: Collection was modified; enumeration operation may not execute.

Submitted by Druss on Sat, 2015-05-16 23:54

I was fiddling around with Unity3D (and C#) and I ran into the following error messages:

InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.List`1+Enumerator[UnityEngine.UI.Toggle].VerifyState () (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:778)

and

Subscribe to RSS - Unity