Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DT Singleton Instance was null error
#1
Hi Everyone,

Recently I came across an issue with the new error and I am not sure how to clear this bug. My Unity solution is built on Android and has 3 scenes and only the middle scene has a curve applied to it. If the user cycles through the scenes it works fine but when the user goes to enter the middle scene a second time the following error is presented:


Code:
[DevTools] DTSingleton instance was null. This happens if the instance is destroyed by the user, which is not a supported operation. If you did not destroy the singleton's instance, then please fill a bug report.
UnityEngine.Debug:LogError (object)
FluffyUnderware.DevTools.DTLog:LogError (object) (at Assets/Plugins/DevTools/Classes/DTUtility.cs:848)
FluffyUnderware.DevTools.DTSingleton`1<FluffyUnderware.Curvy.CurvyGlobalManager>:Awake () (at Assets/Plugins/DevTools/Components/DTSingleton.cs:61)
FluffyUnderware.Curvy.CurvyGlobalManager:Awake () (at Assets/Plugins/Curvy/Base/CurvyGlobalManager.cs:228)


I am using the latest version of Curvy and any tips or hints (or do I need to provide further info) it would be appreciated as I am stumped. 

Cheers.

R76
Reply
#2
Hi
Do you manage to reproduce this issue in editor or inside a desktop build? If so please send me a reproduction case. If not let me know and I will try to help as much as I can.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
(10-07-2021, 01:20 PM)_Aka_ Wrote: Hi
Do you manage to reproduce this issue in editor or inside a desktop build? If so please send me a reproduction case. If not let me know and I will try to help as much as I can.

Yes I have reproduced within the Unity Editor - I'll have to look at how to get the Reproduction Case up though (googling now).
Reply
#4
The ideal way:
1- Create a new empty project
2- Copy in it only the things necessary to recreate the issue: A scene, your needed custom scripts, and Curvy Splines
3- Make sure that the issue is reproducible
5- Make a zip or package from that project (include only the Assets folder and the manifest.json if you use non default Unity packages)
6- Send me the link to download the project. Do not post the link here, since this thread is public.
7- Explain to me what steps I should do to reproduce the issue.
Thanks a lot
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Whitespace error in UITextSplineController kasai@cadcenter 4 456 07-09-2021, 09:07 AM
Last Post: _Aka_
  Error while making prefab having curvy Generator script User2200 3 990 03-15-2021, 07:16 PM
Last Post: _Aka_
Bug Got Position { Nan } error. Canis 3 1,609 08-20-2020, 06:27 PM
Last Post: _Aka_
  Error: Calling TeleportBy on a controller that is stopped jamesunity 5 2,369 07-13-2020, 12:28 PM
Last Post: _Aka_

Forum Jump: