Windows 8.1 Visual Studio 2013?

Hi

Iam thinking about reinstall my machine to Win8.1 with VS 2013. Any challenges to it regarding Unity, anyone try?

Lennart

Hello,

there isn’t an official support for it yet, so things might not work correctly. However, we’ll try squeezing it into 4.3 release.

I tried and ran into a few issues… I would wait until Unity suports it, especially with regards to the newer SwapChainPanel capabilities.

I just installed windows 8.1 as I haven’t had windows 8 until yesterday. The issue is only VS 2013 is available for download and Unity doesn’t seem compatible with WindowsKit 8.1.

I’m looking for a work around at the moment. :confused:

Just install Windows SDK 8.0 next to VS 2013 and you should be fine - Windows SDK and emulator archive | Microsoft Developer

I thought that too, but I got an error installing the SDK. It didn’t give me much detail so I couldn’t figure out why. :frowning: I’ll try again today.

I installed the 8.0 SDK but it still has issues. Unity is looking these files:

The first one “…\8.0\References\CommonConfiguration\Neutral\Windows.winmd” simply doesn’t exist even after installing the 8.0 SDK. This file does exist in the “…*8.1*\References\CommonConfiguration\Neutral\Windows.winmd” folder though

All the others are related to .Net Framework 4.5. I tried installing it and the installer tells me I already have a higher version and doesn’t let me continue. This is correct. I have 4.5.1 located in a folder called 4.5.1 where unity is searching in 4.5.

I may be able to copy and paste files around to fix this but I’d rather not…

I’ll give it a go and see what happens.

Okay, so let me just confirm your setup, you have installed:

  • Windows 8.1
  • VS 2013
  • Windows SDK 8.0

?

If so, does folder - C:\Program Files (x86)\Windows Kits\8.0\ even exist?

Yes that’s my setup and yes it exists but

C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\

is empty.

Copying the files from:

C:\Program Files (x86)\Windows Kits*8.1*\References\CommonConfiguration\Neutral\

and all files from:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore*v4.5.1*\

to

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore*v4.5*\

Seems to have worked. I’m able to get it to a point where I’m fixing compile errors in my scripts (resulting from Metro’s IO and reflection differences).

It doesn’t work. I get a crash when the app is initialising. I assume unity is compiled to expect 8.0 and 8.1 doesn’t match it somehow. I’ll try something else tomorrow.

By the way, out of curiosity, do you have Visual Studio 2013 Pro, or Visual Studio 2013 Express?

Because if you do have Visual Studio 2013 Express, there are two versions:

  • Visual Studio 2013 Express for Windows Desktop
  • Visual Studio 2013 Express for Windows

Visual Studio 2013 Express for Windows is the right to go, the other version doesn’t install Windows Store Apps dependencies.

I have Express, I’m not sure which as I didn’t realise there were two. Microsoft are great at confusing people with their naming of things. X-D

I’ll make sure I have the right version and try again.

I do have Visual Studio 2013 Express for Windows.

The app builds but now I get a black screen after (or I believe) during the unity boot screen. I think it crashes. For some reason the debugger isn’t picking up any exceptions though even though it did yesterday.

I gave up on VS 2013 and hunted down a link to download VS 2012 that doesn’t redirect you to the 2013 version

http://www.microsoft.com/en-nz/download/details.aspx?id=30664

Download the ISO not the net installer.

With VS 2012 I get these warnings in Unity:

For anywhere I’ve used [System.Serializable]

and this exception running the app:

Any ideas?

Well first error says, that you have SerializableAttribute defined somewhere.

The second error is harder, basically, it says that one of the Assembly-CSharp-firstpass.dll dependencies are missing.

Download http://ilspy.net/ drag Assembly-CSharp-firstpass.dll, and look at the references, and see if they’re all present.

@Tomas1856 - Thanks for helping out Antony. This is good information for those of us considering this update.

I’m currently running Windows 7 with Unity Pro, but I’m also considering moving to Windows 8.1 to get access to the new Windows based platforms. Can you tell us anything about the effort that’s currently taking place within Unity Technologies to find a solution or at least a workaround for this?

It’s great the functionality is there, but it seems like MS updates might be troublesome with respect to keeping a stable build environment.

Any information you can share with us about how this is being addressed at Unity Technologies would be great.

Thanks!

Starting from 4.3 Unity will fully support building games against Windows SDK 8.1 + .NET 4.5.1 + VS 2013 on Windows 8.1, so no Visual Studio 2012 dependencies will be needed like Windows SDK 8.0 or .NET 4.5

So problems you’re seeing now - will be resolved.

Any timeframe for Unity 4.3? Microsoft want to promote my game on the store for the holiday season but that requires i have the build in testing in a few weeks.

It should be available somewhere in November, but it’s not a promise.