Giter Site home page Giter Site logo

cs2-infoloom's Issues

After a massive bulldozer the game crash with error message.

Occurs after a massive bulldozer (about hundreds of buildings of 10k population at one time)
It's repeated almost every time.
I also use RealDensity&RealEco,not used other eco-related mod.

Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
at Unity.Entities.ComponentLookup1[T].get_Item (Unity.Entities.Entity entity) [0x00032] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00103] in <f54d889d50924f69b900b09781e8cd29>:0 at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in <f54d889d50924f69b900b09781e8cd29>:0 at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer1+ExecuteJobFunction[InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob].invoke_void_JobChunkExtensions/JobChunkWrapper1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper1<InfoLoom.WorkplacesInfoLoomUISystem/CalculateWorkplaceDataJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Mouse input disrupted when Demographics window is open

The game doesn't respond to the mouse input when the window is open. The keyboard input works ok. Once the window closed, the mouse is working good again.
Very weird, because I use the same $Panel component for all windows and I don't to any stuff with mouse, events, etc.
The ONLY difference is tag.

Crash in WorkplacesInfoLoomUISystem due to null propertyRenter

PrefabRef prefabRef2 = m_PrefabRefFromEntity[propertyRenter.m_Property];

Crashing due to a null propertyRenter

Reported on Discord.

NullReferenceException: Object reference not set to an instance of an object
  at Unity.Entities.ComponentLookup1[T].get_Item (Unity.Entities.Entity entity) [0x00032] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x000f8] in C:\Repos\CS2-Mods\CS2-InfoLoom\Systems\WorkplacesInfoLoomUISystem.cs:164 
  at InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in C:\Repos\CS2-Mods\CS2-InfoLoom\Systems\WorkplacesInfoLoomUISystem.cs:269 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer1+ExecuteJobFunction[InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob].invoke_void_JobChunkExtensions/JobChunkWrapper1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper1<InfoLoom.Systems.WorkplacesInfoLoomUISystem/CalculateWorkplaceDataJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)```

Do tourists hate my city this much?

Not sure if bug or my play style or other mods, or if I simply don't understand the magnitude of these numbers, but it seems that my city is a no go for tourism big time. I don't have much in the way of tourism in the city now, but still it seems like a high number. How do I diagnose the cause of this?
20231228150005_1

UI Windows Not Visible?

Thanks for your work on this amazing mod.

Maybe a dumb question, but I recently installed infoloom and none of the "new UI windows with extra information" are showing up when I load the game. How do you view the extra information?

The config file was also automatically created in BepInEx/config folder, but changing the value to "true" doesn't seem to change the production info panel in-game.

I also see this output from BepInEx

[Info : BepInEx] Loading [InfoLoom 0.7.0]
[Info : InfoLoom] Plugin InfoLoom is loaded!
[Info : InfoLoom] Plugin InfoLoom made patches! Patched methods: 3
[Info : InfoLoom] Patched method: Game.dll:Initialize
[Info : InfoLoom] Patched method: Game.dll:WriteDemandFactors
[Info : InfoLoom] Patched method: Game.dll:GetData
[Info : InfoLoom] REMOVING GetData patch from InfoLoom_Cities2Harmony

I hope that is enough information?

Error after update in editor

I get this error when entering the editor. Also i cant make it away, so i have to disable the InfoLoom Mod.
This happens after yesterdays update.
If you need more information just tell me :)

[CRITICAL] System update error during UIUpdate AssertionException: Can not write to queue when system isn't running Assertion failure. Value was False Expected: True at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x00043] in <a8fc136049044b19982b5abcb6f6b426>:0 at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) [0x0000f] in <a8fc136049044b19982b5abcb6f6b426>:0 at Unity.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) [0x00004] in <9a7e91fb1c0a42bdb40b67eb2c0b13bb>:0 at Game.Triggers.TriggerSystem.CreateActionBuffer () [0x00006] in <1612d666569f4a8aaf5062d9fcaab733>:0 at InfoLoom.ResidentialDemandUISystem.OnUpdate () [0x002bc] in <0b26cef417ea41eba4442f9435377ee6>:0 at Unity.Entities.SystemBase.Update () [0x0004e] in <9a7e91fb1c0a42bdb40b67eb2c0b13bb>:0 at Game.UpdateSystem.Update (Game.SystemUpdatePhase phase) [0x0004e] in <1612d666569f4a8aaf5062d9fcaab733>:0 Colossal.Logging.CustomLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:LogFormat(LogType, String, Object[]) Colossal.Logging.UnityLogger:Log(Level, String, Exception) Colossal.Logging.UnityLogger:CriticalFormat(Exception, String, Object) Game.UpdateSystem:Update(SystemUpdatePhase) Game.UI.UIUpdateSystem:OnUpdate() Unity.Entities.SystemBase:Update() Game.UpdateSystem:Update(SystemUpdatePhase) Game.SceneFlow.GameManager:UpdateWorld() Game.SceneFlow.GameManager:Update()

Possible bug [see #17]

Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
at Unity.Entities.ComponentLookup1[T].get_Item (Unity.Entities.Entity entity) [0x00032] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00103] in <f54d889d50924f69b900b09781e8cd29>:0 at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in <f54d889d50924f69b900b09781e8cd29>:0 at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at Unity.Entities.JobChunkExtensions+JobChunkProducer1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <39f0c89f34b343ec87d653ea70eaa86b>:0 at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer1+ExecuteJobFunction[InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob].invoke_void_JobChunkExtensions/JobChunkWrapper1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper1<InfoLoom.WorkplacesInfoLoomUISystem/CalculateWorkplaceDataJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Sticky info

As requested. an issue with the suggestion to make the seperate info screens sticky. Like remember position when closed and when reopened start at previous position.

Hook UI

you need to change the mod to be able to work with the new hook ui

Crash today, very quickly after opening. It crashed so quickly that I was barely able to move the camera.

[object Object]
NullReferenceException: Object reference not set to an instance of an object
  at Unity.Entities.ComponentLookup`1[T].get_Item (Unity.Entities.Entity entity) [0x00032] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x000f8] in C:\Repos\CS2-Mods\CS2-InfoLoom\Systems\WorkplacesInfoLoomUISystem.cs:164 
  at InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in C:\Repos\CS2-Mods\CS2-InfoLoom\Systems\WorkplacesInfoLoomUISystem.cs:269 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 
  at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer`1+ExecuteJobFunction[InfoLoom.Systems.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob].invoke_void_JobChunkExtensions/JobChunkWrapper`1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper`1<InfoLoom.Systems.WorkplacesInfoLoomUISystem/CalculateWorkplaceDataJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Crash on error: Object reference not set to an instance of an object

Had a crash with the following errorcode. Launching with Infoloom v 0.8.1 through Thunderstore.

Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
  at Unity.Entities.ComponentLookup`1[T].get_Item (Unity.Entities.Entity entity) [0x00032] in <39f0c89f34b343ec87d653ea70eaa86b>:0 
  at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00103] in <f54d889d50924f69b900b09781e8cd29>:0 
  at InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in <f54d889d50924f69b900b09781e8cd29>:0 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <39f0c89f34b343ec87d653ea70eaa86b>:0 
  at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <39f0c89f34b343ec87d653ea70eaa86b>:0 
  at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer`1+ExecuteJobFunction[InfoLoom.WorkplacesInfoLoomUISystem+CalculateWorkplaceDataJob].invoke_void_JobChunkExtensions/JobChunkWrapper`1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper`1<InfoLoom.WorkplacesInfoLoomUISystem/CalculateWorkplaceDataJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

PDX

Hello,
I dont really have any issue with your mod, but I didnt know how to reach you out beside on here.
are you planning on releasing this mod on PDX anytime soon? if so do you have an ETA for the release?
this is one of the mods I use the most! I really love it. I am missing it since I transitioned into PDX from TS and I am afraid to run both together

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.