"System.ArgumentOutOfRangeException' occurred in mscorlib.dll" RRS feed

  • Question

  • I have a unity project that i have shifted to UWP 10 platform. But i am getting unexpected exception in the start of the app. "An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll" I have gone deeply through the code but unable to find the reason behind this exception.Any help would be highly appreciated.Thanks

    Exception details are this:

    System.ArgumentOutOfRangeException was unhandled Message: An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.ni.dll Additional information: Index was out of range. Must be non-negative and less than the size of the collection.

    It occurs in the constructor of the project.

    • Moved by Breeze Liu Thursday, December 21, 2017 8:08 AM off topic
    Wednesday, December 20, 2017 12:49 PM

All replies

  • Hi SabaSoft UWP Developer,

    Welcome to the Developing Universal Windows apps forum! Please utilize tagging when posting to this forum, thanks!

    Here is the Microsoft official forum for developing UWP apps, your issue is more about Unity,  we don't support it here, you can ask this issue in the Unity Community. Thanks for your understanding.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, December 21, 2017 8:07 AM