Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

FActiveSound::UpdateAdjustVolumeMultiplier -> CurrentAdjustVolumeMultiplier = 1.#INF0000


My engine version : 4.8

I believe this issue occurs on 4.9 and master too, because there is no change in this code since 4.8.

The function from the topic in some circumstances can calculate wrong CurrentAdjustVolumeMultiplier value = 1.#INF0000 because there is possibility to divide by 0.

This line of code:

 CurrentAdjustVolumeMultiplier += (TargetAdjustVolumeMultiplier - CurrentAdjustVolumeMultiplier) * DeltaTime / (TargetAdjustVolumeStopTime - PlaybackTime);

in my case for looped sound:

 PlaybackTime = 3.10002732
 TargetAdjustVolumeStopTime = 3.10002732

will give something divided by 0.f

I've changed this line of code:

 if( PlaybackTime <= TargetAdjustVolumeStopTime )


 if( PlaybackTime < TargetAdjustVolumeStopTime )

And it seems it solves dividing by 0 issue. What do you guys think about my solution?:)



Product Version: UE 4.8
more ▼

asked Aug 28 '15 at 09:05 AM in Bug Reports

avatar image

2.6k 73 49 131

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey Pierdek,

Thank you for catching this issue and applying a fix. In order to see this fix applied would you mind submitting a pull request via GitHub?

If you need instructions or help on how to submit a pull request please let me know.


Andrew Hurley

more ▼

answered Aug 28 '15 at 01:35 PM

avatar image Pierdek Aug 28 '15 at 02:22 PM

Sure I can make a pull request.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question