MathewHDYT

Results 71 comments of MathewHDYT

Could you describe your feature request in more detail? It is currently unclear what exactly is requested. Perhaps the example scene can provide some help. [AdvancedExamples.cs](https://github.com/MathewHDYT/Unity-Audio-Manager/blob/main/Example_Project/Assets/Scripts/AdvancedExamples.cs)

This is how you would add a fade in effect on the volume, as can be seen in the [AdvancedExamples.cs](https://github.com/MathewHDYT/Unity-Audio-Manager/blob/main/Example_Project/Assets/Scripts/AdvancedExamples.cs) to any song. ```c# am.SubscribeProgressCoroutine(fadeInSong.soundName, 0f, SongProgressCallback); am.Play(fadeInSong.soundName); public ProgressResponse...

When exactly would you call this method in your code? Simply once at the startup. Or do you call it by yourself, once you want to transition from the main_menu...

This seems to be a case of the `OTA_Update_Callback`, being configured incorrectly. Can you attach your script, and are you sure your instance looks like this. ```c++ const OTA_Update_Callback callback(&progressCallback,...

Are you really sure the title are the same. The title configured in the `OTA_Update_Callback` has to be the same as from the OTA package assigned in ThingsBoard. To check...

As mentioned above in less detail, because the `OTA_Updater_Callback` does not save the actual memory to the title and version. It simply copies the pointer, meaning if the string is...

Okay good to know, perhaps there is some issue with flash strings, can you add this line on top of your main file. ```c++ #define THINGSBOARD_ENABLE_PROGMEM 0 ```

Ah good to know you are on ESP8266. For now as a dirty fix can you go into the `OTA_Update_Callback` and change the line. ```c++ const char *m_fwTitel; // Current...

Sorry my bad simply change ```c++ void OTA_Update_Callback::Set_Firmware_Title(const char *currFwTitle) { m_fwTitel = currFwTitle; } ``` to this instead ```c++ void OTA_Update_Callback::Set_Firmware_Title(std::string currFwTitle) { m_fwTitel = currFwTitle; } ```

I am not 100% sure but perhaps it is an issue with the constness. ```c++ const std::string Get_Firmware_Title() const; ``` Will return a const copy-by-value. Which means the one calling...