Coder Social home page Coder Social logo

Comments (4)

uerceg avatar uerceg commented on August 12, 2024

@PNordlund71 are you still facing this issue and if yes, can you please tell me which Adjust SDK version are you using? Thank you in advance and sorry for delayed answer.

from unity_sdk.

PNordlund71 avatar PNordlund71 commented on August 12, 2024

unity4.1.0

This happens because we have the Adjust prefab in a scene that gets loaded every time when changing between different scenes in our game. The Adjust.cs script should be a "singleton" type - or check in Awake if an instance is already running.

from unity_sdk.

uerceg avatar uerceg commented on August 12, 2024

Hi @PNordlund71

We're planning to add following lines to Awake method, would this solve your issue: https://github.com/adjust/unity_sdk/blob/log_delegate/Assets/Adjust/Adjust.cs#L28

Cheers

from unity_sdk.

uerceg avatar uerceg commented on August 12, 2024

@PNordlund71 We have fixed this in our latest release. From now on, we are always checking Adjust instance in Awake method, like you have suggested. Thank you once again for reporting and suggestions.

Commit: 4d81017
PR: #58
Release: https://github.com/adjust/unity_sdk/releases/tag/v4.1.1

from unity_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.