ValveSoftware / steam-audio

Steam Audio
https://valvesoftware.github.io/steam-audio/
Apache License 2.0
2.31k stars 163 forks source link

Infinite importing loop with the latest Unity 6 update #384

Open bub-bl opened 1 month ago

bub-bl commented 1 month ago

System Information Please provide the following information about your system:

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 commented 1 month ago

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 commented 1 month ago

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

lakulish commented 3 weeks ago

@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 commented 3 weeks ago

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 commented 3 weeks ago

@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 commented 3 weeks ago

Getting same problem on anything related to unity 6000 23f

Unity bug

achandak commented 3 weeks ago

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

achandak commented 2 weeks ago

@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 commented 2 weeks ago

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.