- Home /
[Winrt] Hashtable & Arraylist compilation error
Hello,
I'm using Unity 4.2 in order to compile for Windows 8 platform. When I play th game in the editor, I have no problem, but when I launch the compilation, the compiler throw exception on all code where ArrayList or HashTable is present.
the error is cs0246 : The type or namespace name 'ArrayList' could not be found (are you missing a using directive or an assembly reference?)
Scripts like CombineChildren use these kind of keyword. Is it a way to replace ?Compilation has no error for win32 or webplayer. It's just for Windows 8...
Thanks for your helpWhat is your API compability setting on the player build settings ?
I've change 'Compilation Overrides' to none in Settings and it compiles now. Thanks for your help :)
Answer by xstahef · Jul 25, 2013 at 05:17 PM
I've change 'Compilation Overrides' to none in Settings and it compiles now.
Thanks Quantum2
To prevent $$anonymous$$S validation problem, the better way is to rewrite code and not use Compilation Overrides.
Your answer
Follow this Question
Related Questions
is iTween compatible with Windows8 and WindowsPhone? 1 Answer
Windows store apps log file location 1 Answer
Unity game for windows store or windows phone 0 Answers
Virtual keyboard in Windows Store Apps (Metro) via the TouchScreenKeyboard class 0 Answers
using Array.Sort Method (Array, Array) in a Metro App 0 Answers