Quistar-LAB / PropAnarchy

Prop Anarchy is a mod that utilizes EML and contains popular functions that were rendered incompatible due to the new Prop Framework
MIT License
3 stars 2 forks source link

PLT still has problems, I will submit an output log #4

Open RACING799 opened 2 years ago

RACING799 commented 2 years ago

output_log.txt

I'm pretty sure I've updated the module to version 0.7.5

ModException: The Mod D:\steam2\steamapps\workshop\content\255710\2696146766 [UIIndicator.dll, PropAnarchy.dll] has caused an error ---> System.NullReferenceException: Object reference not set to an instance of an object at PropAnarchy.PAPainter.Initialize (SimulationManager) <0x0007b> at PropAnarchy.PAModule.OnLevelLoaded (ICities.LoadMode) <0x00554> at (wrapper dynamic-method) LoadingWrapper.LoadingWrapper.OnLevelLoaded_Patch9 (LoadingWrapper,SimulationManager/UpdateMode) <0x00101>

--- End of inner exception stack trace ---

Quistar-LAB commented 2 years ago

Don't use Prop Anarchy in Map editor. it's not supported yet

Quistar-LAB commented 2 years ago

Not sure why you're getting this error, but there are a couple things that PropAnarchy.PAPainter (prop painter function) needs to function correctly. An enabled Move It Mod and a color picker template which is provided by the game base, but only in game, and not in map editor. These are the two things that prop painter function needs in order to continue working correctly. If this step fails, then the entire prop anarchy module will not work. I assumed map editor at first because that's usually the case, but if it is not, then its probably Move It. If that's not the case, then Prop Anarchy doesn't work for your Cities Skylines.

RACING799 commented 2 years ago

This is the error I received when I used PLT on a blank map

New output diary has been uploaded

System.NullReferenceException: Object reference not set to an instance of an object at EManagersLib.EPropManager.OverlapQuad (Quad2 quad, Single minY, Single maxY, CollisionType collisionType, Int32 layer, UInt16 ignoreProp) [0x00000] in :0 at PropAnarchy.PLT.PlacementError.CheckAllCollisionsTree (Vector3 worldPosition, .TreeInfo treeInfo) [0x00000] in :0 at PropAnarchy.PLT.PropLineTool+ItemInfo+ItemData.UpdatePlacementError () [0x00000] in :0 at PropAnarchy.PLT.DrawMode.UpdatePlacementErrors (.ItemData[] itemDatas) [0x00000] in :0 at PropAnarchy.PLT.DrawMode.CalculateAll (Boolean continueDrawing) [0x00000] in :0 at PropAnarchy.PLT.DrawMode.UpdatePlacement (Boolean forceContinueDrawing, Boolean forceKeepLastOffsets) [0x00000] in :0 at PropAnarchy.PLT.DrawMode.UpdatePlacement () [0x00000] in :0 at PropAnarchy.PLT.Modes.DrawStraight.OnSimulationStep (Vector3 mousePosition) [0x00000] in :0 at PropAnarchy.PLT.PropLineTool.SimulationStep () [0x00000] in :0 at ToolManager.SimulationStepImpl (Int32 subStep) [0x00000] in :0 output_log.txt

Quistar-LAB commented 2 years ago

Did you enable EML?

RACING799 commented 2 years ago

Please forgive me for wasting your time on this silly little question and thank you for your patience in answering it.

The problem has been solved