Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RACING799 opened this issue Jan 30, 2022 · 5 comments
Open

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

RACING799 opened this issue Jan 30, 2022 · 5 comments

Comments

@RACING799
Copy link

RACING799 commented Jan 30, 2022

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
Copy link
Owner

Quistar-LAB commented Jan 30, 2022

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

@Quistar-LAB
Copy link
Owner

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
Copy link
Author

RACING799 commented Jan 30, 2022

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
Copy link
Owner

Did you enable EML?

@RACING799
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants