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"

GPU Particle Parameterised Color Over Life Module not working outside editor

I have come across an issue with using a parametrised Color Over Life module on GPU sprite emitters.

When running in editor everything works as expected, particle colour changes dynamically. When running outside of the editor particles are always coloured white, even if their default colour is not white.

This appears to happen regardless of whether the emitter is spawned at runtime or during initialisation (as a component).

I have reproduced this in a new third person C++ project. The sphere effect is spawned at runtime, the head spray is a component attached to the character in the component editor.

It may be noteworthy that the materials are the same and are additive unlit materials.

Screenshot in editor. alt text

Screenshot out of editor (cooked content, running from code). alt text

This also occurs in packaged builds.

This appears to be fixed by not using GPU sprite emitters, which is not ideal.

Product Version: Not Selected
in editor.png (1.1 MB)
more ▼

asked Oct 15 '14 at 10:04 PM in Bug Reports

avatar image

36 2 2 8

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I have found a solution: using Initial Color + Scale Color / Life as opposed to Color Over Life works as intended outside of the editor (tested in debug game with cooked content and in a shipping package); set Initial Color's color component to be white and parameterise Scale Color / Life's color component. This setup appears to be ideal for making adjustments in the future as an added bonus.

This is more of a workaround and Color Over Life does still appear to be buggy outside of the editor.

more ▼

answered Oct 16 '14 at 07:43 AM

avatar image

36 2 2 8

(comments are locked)
10|2000 characters needed characters left
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