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

Infinite importing loop with the latest Unity 6 update #384

Open
bub-bl opened this issue Oct 25, 2024 · 9 comments
Open

Infinite importing loop with the latest Unity 6 update #384

bub-bl opened this issue Oct 25, 2024 · 9 comments

Comments

@bub-bl
Copy link

bub-bl commented Oct 25, 2024

System Information
Please provide the following information about your system:

  • Steam Audio version: 4.5.3
  • Unity version: Unity 6000.0.23f1
  • FMOD Studio version: 4.5.3
  • Operating System and version: Windows 10
  • CPU architecture (e.g. x86-64, armv7): x86-64

Issue Description
We should be able to import Steam Audio on Unity 6

Steps To Reproduce
Import SteamAudio plugin in any Unity 6 version

@bub-bl
Copy link
Author

bub-bl commented Oct 25, 2024

The problem seem to be the Build.cs file.
I have added all file one by one, and this is the only file who block Unity in an infinite loop

This is the line that block the importation:

PlayerSettings.SetScriptingDefineSymbols(supportedPlatform, defines);

@bub-bl
Copy link
Author

bub-bl commented Oct 25, 2024

To fix the problem temporary, just add STEAMAUDIO_ENABLED into your scripting defines
image

@lakulish
Copy link
Collaborator

@bub-bl Unfortunately, we were unable to reproduce this issue. Are you encountering this issue in a blank Unity project? Or does your project contain any other plugins that might interfere with the way Build.cs adds the STEAMAUDIO_ENABLED define?

@bub-bl
Copy link
Author

bub-bl commented Oct 30, 2024

I dont have tested with a new project.
I dont have any plugin except Steam Audio

That maybe a problem related to some imported packages

@lakulish
Copy link
Collaborator

@bub-bl Which imported packages do you suspect? Can you provide a list of all imported packages? I can try to import those and see if I can repro the issue.

@carefall
Copy link

carefall commented Nov 4, 2024

Getting same problem on anything related to unity 6000 23f

Unity bug

@achandak
Copy link
Collaborator

achandak commented Nov 4, 2024

@carefall - Can you provide any more details. We were not able to repro it on our end.

  • Did you start a new project or started an existing project in Unity 6?
  • Any reproable minimal project you are able to share?

@achandak
Copy link
Collaborator

achandak commented Nov 5, 2024

@carefall @bub-bl - Looks like you have Custom Player Settings on your Build Profile. Either create your Custom Player Settings after importing the plugin or make sure that STEAMAUDIO_ENABLED is defined in Script Compilation > Scripting Define Symbols.

@carefall
Copy link

carefall commented Nov 7, 2024

It's not related to steamaudio. Just experienceing this weird behaviour on Unity after .23f update. Hhappens if i switch platfrom from pc to any other one or add any plugin which modifies Scripting Define Symbols. It's starting to either endlessly compile shaders/scripts or throws errors each time i update scripts or use Ctrl + R to reload.

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

4 participants