Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

[Unity IAPs] UWP 10 NullReferenceException at ConfigurationBuilder.Instance

Discussion in 'Windows' started by OnurYIL, Mar 10, 2016.

  1. OnurYIL


    Nov 4, 2013
    Hello everyone!

    I'm trying to implement IAPs to my Windows 10 game. Everything works fine at the editor, 0 errors, succesful purchases. But when I debug the project through Visual Studio on my local computer, I get a NullReferenceError.

    Now the Visual Studio debugger does not show where the error is, but I was sure I didn't have such error BEFORE I started to implement IAPs so I slowly disabled parts of the IAPDemo.cs code which came with the imported files through services.

    If I comment out the highlighted part, my game works fine. If I let it run, I get a NullReferenceException.

    Anyone knows whats up?

    Unity version 5.3.1f1.

    Thank you for the help!
  2. Banderous


    Dec 25, 2011
    Can you please attach a full stack trace? Visual studio should have a stack trace included in the logging it outputs alongside the NullReferenceException.