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
1.97k stars 65 forks source link

Editor icons appear small on high DPI screens #155

Open ramokz opened 7 months ago

ramokz commented 7 months ago

Issue description

When installing the addon via the AssetLib, within the Godot Editor, the editor will crash upon completion. This only happens once right after installation, where the addon will work correctly after restarting the editor.

This appears to only happen when installing it via the AssetLib, and not when manually importing the addon from a GitHub release.

Additionally, the images marked with Scale With Editor Scale enabled will spam the editor saying Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab) [...]

Thanks to Bissash for report.

Steps to reproduce

  1. Open a Godot project where the Phantom Camera addon isn't installed.
  2. Open the AssetLib tab
  3. Find and install Phantom Camera
  4. Upon installation, the editor crashes and/or produces the import errors

(Optional) Minimal reproduction project

No response

ramokz commented 7 months ago

This appears to be the same issue as in https://github.com/godotengine/godot/issues/85859. The crash and import errors might be related, but it's difficult to tell at this stage.

A fix should be coming in Godot 4.3 for the assets at the very least.

ramokz commented 6 months ago

Will keep icons small for the time being until at minimum Godot 4.3 is released to avoid the various issues lised above. After that, can revisit when it would be appropriate to provide better icon support for high DPI displays.