question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hot reload of dev builds seems broken

See original GitHub issue

Tried doing a hot reload and the main menu button (crown button) stopped functioning.

TMPE.log

Error 10,971.8881554: Toggle mainmenu failed System.NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.UI.MainMenu.MainMenuButton.HandleClick (ColossalFramework.UI.UIMouseEventParameter p) [0x00000] in <filename unknown>:0 
   at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
   at CSUtil.Commons.Log.Error(System.String s)
   at TrafficManager.UI.MainMenu.MainMenuButton.HandleClick(ColossalFramework.UI.UIMouseEventParameter p)
   at TrafficManager.U.Button.BaseUButton.OnClick(ColossalFramework.UI.UIMouseEventParameter p)
   at ColossalFramework.UI.UIComponent.OnClick(ColossalFramework.UI.UIMouseEventParameter p)
   at ColossalFramework.UI.UIInput+MouseHandler.ProcessInput(IInputTranslator translator, Ray ray, ColossalFramework.UI.UIComponent component, Boolean retainFocusSetting)
   at ColossalFramework.UI.UIInput.ProcessMouseInput()
   at ColossalFramework.UI.UIInput.Update()

Suspect it might be related to the UI updates from #656

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kianzarrincommented, Apr 2, 2022

#1492 also fixed this.

0reactions
kianzarrincommented, Mar 2, 2020

yes

Read more comments on GitHub >

github_iconTop Results From Across the Web

webpack-dev-server hot reload not working
And it builds and seems like it's working. localhost:8080 shows the expected result but hot-reload does just not work. When I change a...
Read more >
Hot reload in Quasar Dev is broken · Issue #10083
Describe the bug Hot reload in Quasar Dev is broken Codepen/jsFiddle/Codesandbox (required) Fork a Codepen (https://codepen.quasar.dev) or a ...
Read more >
The Build is Always Broken
Doing an `npm run dev` type of command in a reasonably set up JS project is ... I think what it does is...
Read more >
Hot Reload is rubbish : r/Blazor
It used to work well with .NET 6 and VS2022, but after the last patch seems to have broken for me at least....
Read more >
HOT RELOAD - Edit Code Without Compiling!
No domain reload, no waiting for editor compiling, and no project changes required. Check out the demo video here: The developers in our...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found