ramokz / phantom-camera

👻🎥 Control the movement and dynamically tween 2D & 3D cameras. Built for Godot 4. Inspired by Cinemachine.
https://phantom-camera.dev/
MIT License
2.29k stars 77 forks source link

Godot randomly freezes after addon's installation #405

Open 0-Vanes-0 opened 1 month ago

0-Vanes-0 commented 1 month ago

Issue description

Godot's version: v4.3.stable.steam [77dcf97d8] OS: Windows 10 Addon version: 0.7.3

Enabled addon "Phantom Camera" freezes Godot editor during trivia scene editing. Each freeze leads to closing the editor and relaunching (with hope). I witnessed freezes after:

If I turn off the plugin in Project Settings, nothing freezes anymore. In my user:// folder (AppData/Roaming/Godot/) there's no any log file which could clarify what happened.

Steps to reproduce

  1. Create new project
  2. Install addon through "AssetLib"
  3. Create a 3D scene
  4. Try to add new nodes, either addon's ones or Godot's / change some node's parameters in Inspector tab

(Optional) Minimal reproduction project

Here's link with my recording of catching this bug: https://drive.google.com/file/d/18gU0pfRsrjh7iOF_vcoCCPmvKaHR4Kuu/view?usp=sharing

0-Vanes-0 commented 1 month ago

If possible, I'd like to get some help with investigation. Much time ago there was an output console on Godot's start, and as for now I didn't find how to get it back. It could have some info about the freezes of the editor. My issue seems critical but it's hard to say what could be a problem here.

ramokz commented 1 month ago

That's very odd.

I can't say why that is happening, and have never come across anyone or myself experiencing this. So it seems like it might be a unique issue.

Have you tried either of the following:

  1. Notice that you're launching Godot through Steam, so does the issue also occur if you download Godot from their website and launch that executable?
  2. Does the issue also occur with other addons?
  3. Have you tried on other machines?
0-Vanes-0 commented 1 month ago

Things seem weird.

  1. Does launching from executable help? Yes, no freezes. No, caught it.
  2. Other addons? No.
  3. And the most odd thing: when I try Steam version on other PC - no freezes too.

I'm quite confused. My graphics drivers are up to date. In Steam inside Properties > Betas I've chosen "None", so it is 4.3 for sure. I assume, there must be something wrong with my PC. Reinstallation didn't help too.

ramokz commented 1 month ago

Given it sounds like it's running fine on another machine, it sounds like a machine-specific issue. Am not sure if I can realistically help debug that without either being able to replicate the issue or have any error outputs to work out from, unfortunately.

It might be a particular line in the addon, but, again, have no idea where to even start.

0-Vanes-0 commented 1 month ago

It's ok. I'll try to investigate it further. I will notify if the issue would be (somehow) fixed on new version of Phantom Camera.

lord-muad-dib commented 1 week ago

to get console output from the steam version run the godot executable from any terminal. it should work