|
Post by DarkTonic Dev on Aug 1, 2019 19:53:06 GMT
Fixed. Sent you an email.
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 14, 2021 13:17:52 GMT
Hi,
having the same issue. Unity 2019.4.29f1. Works fine in the first scene, when the next scene loads it gets messed up the same way with an error message:
NullReferenceException: Object reference not set to an instance of an object DarkTonic.CoreGameKit.EditorScripts.PoolBossInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/PoolBoss/PoolBossInspector.cs:781) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Latest CGK version.
|
|
|
Post by DarkTonic Dev on Dec 14, 2021 16:08:05 GMT
Email me for the latest beta please. Include your Asset Store Invoice PDF like always.
-Brian
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 14, 2021 17:57:28 GMT
Email me for the latest beta please. Include your Asset Store Invoice PDF like always. -Brian Sure, thanks.
|
|
|
Post by DarkTonic Dev on Dec 14, 2021 23:11:00 GMT
No problem.
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 15, 2021 9:25:01 GMT
Still the same mate, core game kit has two pool boss scripts.
Assets/plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs is the one that i'm using and the one i imported is pool boss only:
Assets/DarkTonic/PoolBoss/Scripts/PoolBoss.cs
So it's not the same script therefore this solves nothing. Any chance for CGK poolboss script fix?
Assets/Plugins/Editor/DarkTonic/CoreGameKit/PoolBoss/PoolBossInspector.cs:781)
|
|
|
Post by DarkTonic Dev on Dec 15, 2021 16:06:08 GMT
I sent you the Pool Boss package, not Core GameKit. Which product do you want to use?
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 15, 2021 16:39:16 GMT
Well this is CGK part of the forum, pool boss for CGK is not working  Sorry if i wasn't clear.
|
|
|
Post by DarkTonic Dev on Dec 15, 2021 19:31:04 GMT
I'll send you the CGK package now. Please delete / uninstall the Pool Boss package.
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 16, 2021 6:00:37 GMT
Hm, still not working. I got the same error on 781:
if (hasPrefab) { var itemInfo = PoolBoss.PoolItemInfoByName(itemName); GUI.contentColor = DTInspectorUtility.BrightButtonColor;
if (itemInfo != null && itemInfo.SpawnedClones.Count > 0) {
So i transferred my levelwavesetting prefab to coregamekit/prefabs and now i get a null ref error on line 788
if (poolItem.gameObject.GetComponent<Killable>() != null)
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 16, 2021 15:37:11 GMT
I'll send you the CGK package now. Please delete / uninstall the Pool Boss package. Sorry, I missed this part, i'll try deleting it.
|
|
|
Post by DarkTonic Dev on Dec 16, 2021 16:25:02 GMT
Thanks.
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 17, 2021 10:40:08 GMT
I deleted everything related to dark tonic, editor stuff, plugins, assets, master audio, core game kit, reimported everything and it still bugs out. Anything in particular i can take a look at?
It works until i change the scene.
|
|
Oshigawa
Full Member
 
Posts: 228
Posts: 228
|
Post by Oshigawa on Dec 17, 2021 14:57:07 GMT
I deleted everything related to dark tonic, editor stuff, plugins, assets, master audio, core game kit, reimported everything and it still bugs out. Anything in particular i can take a look at? It works until i change the scene. Ah wait, i screwed up the project and PERHAPS i installed CGK from the asset store. What files need an update besides poolableinfo, poolboss and poolbossinspector since i don't want to screw up again (if i did, i can't remember if i installed from the package or from the store)? Sorry for the fuss, publisher's waiting for QA and i need to optimize the pools to finish the five years work.
|
|
|
Post by DarkTonic Dev on Dec 17, 2021 15:44:43 GMT
For that specific fix PoolBoss.cs only. However there are a bunch of files for the other fixes in the beta. I'd import the updated beta package over top.
|
|