Search Unity

Could not load file or assembly 'Windows, Version=255.255.255.25

Discussion in 'Windows' started by CrunchingKoalas, Jun 23, 2015.

  1. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    Hey guys,

    I'm getting a weird exception when launching a Windows 8.1 application:

    I don't have any errors when building the Visual Studio solution from Unity and I have the Compilation Override set to "Use Net Core". I'm not using any Hashtables, ArrayLists, Queues or anything from the missing .NET classes.

    An empty project compiles and works fine, but when we build our game it builds succesfully and then crashes at start.

    I think I tried everything - please help, I'm getting desperate.

    Cheers,
    Tom
     
    kanaka.koppalu likes this.
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,918
    Are you able to create Windows Store Apps (Windows 8.1) application from Visual Studio, the error indicates that you may be missing Window SDK.

    Also try building to empty folder.
     
    kanaka.koppalu likes this.
  3. burtonposey

    burtonposey

    Joined:
    Sep 8, 2009
    Posts:
    62
    This was the fix for the problem I just encountered. Wanted to put it out there for anyone else having this error. I added DOTween to my HoloLens project and couldn't get the type to be recognized in my build. Only when I built the generated project to a new folder did the resulting build recognize the new plugin DLL files.

    Thanks!